Hello,
I am new to test studio but have some experience in C# and Visual studio. I created a Webtest.tstest and recorded few steps in it. Then I converted it to the C# code using MSTest framework. I started modularizing the code into several small functions. I am facing few problems here
1. When I add a new step to Webtest.tstest it is not being directly reflected in the above C# code. Is there any way I can keep them in sync.
2. I have my data defined in excel and ma accessing it in the code using the below code.
Actions.SetText(Pages.x2003FREIGHTERDROPDECKFor.TxtEnquiryFormNameText, Data["Name"].ToString())
But when I do the same in the C# code that is converted using MSTest Framework, I am unable to access the Data object. How do I use the Data here.
Kindly help.
Thanks in advance
Meher
I am new to test studio but have some experience in C# and Visual studio. I created a Webtest.tstest and recorded few steps in it. Then I converted it to the C# code using MSTest framework. I started modularizing the code into several small functions. I am facing few problems here
1. When I add a new step to Webtest.tstest it is not being directly reflected in the above C# code. Is there any way I can keep them in sync.
2. I have my data defined in excel and ma accessing it in the code using the below code.
Actions.SetText(Pages.x2003FREIGHTERDROPDECKFor.TxtEnquiryFormNameText, Data["Name"].ToString())
But when I do the same in the C# code that is converted using MSTest Framework, I am unable to access the Data object. How do I use the Data here.
Kindly help.
Thanks in advance
Meher