Hi Mon_bk,
Thank you for posting in MSDN forum.
>>So how can i set class order .....in coded ui test.....i want to run first class c then Class A and then calss B ...........
Generally, I know that we could use this ordered test to call the codedUItest method to according to this specified order by ordered test.
As you said that you want to set this class order in coded UI test, as far as I know that it is default that we could not implement this function in coded UI test.
However, I have a replace workaround to run class order for coded UI test. The workaround is that you could try to use such as a console application to execute this coded UI test.
For example, you could create a console application project and then reference this coded UI test project by Adding Reference.
And then call this coded UI test class in this Main method, the code like the following.
using CodedUITestProject1;
namespace ConsoleApplication1
{
class
Program
{
static
void Main(string[] args)
{
CodedUITestProject1.CodedUITestC codedC =
new CodedUITestProject1.CodedUITestC();
codedC.CodedUITestMethodC();
CodedUITestProject1.CodedUITestA codedA =
new CodedUITestProject1.CodedUITestA();
coded2.CodedUITestMethodA();
CodedUITestProject1.CodedUITestB codedB =
new CodedUITestProject1.CodedUITestB();
coded3.CodedUITestMethodB();
}
}
}
So I suggest you could try to refer the above code to check this issue.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.