Hi Telerik Team,
I'm working on Telerik Teststudio latest version 2015.1.139 (Visual studio plug-in) and visual studio community 2013 win7 in my Local system.
I'm trying to implement Page object model for Telerik teststudio as in selenium . I've done this successfully using Telerik Testing Framework by installing the TTF_Ultimate and work around.
Now,Im trying to implement the same in Teststudio using Record and play back approach . I've taken the sample scenerio of Gmail Login
1. I've taken the Locators like "Pages.Gmail.EmailEmail" in Constants.tstest.cs generated after adding to element repository
2.Taken the other webtest "GmailLogin.tstest.cs" and called a method _gmailObject.GmailLogin();
3. I've implemented the actions in GmialLogin() in "Methods.tstest.cs" , I've defined all the User actions as reusable methods in "UserActions.tstest.cs"
4. I'm able to access most of the reusable safe actions defined in UserActions from GmailLogin() in "Methods.tstest.cs" as UAobj.Click(Html Locator);
5. However I'm not able to enter the text in fields using this way by calling safe actions from GmailLogin() but its working fine when I'm running from testcase using Quick execute "GmailLogin.tstest." and I'm also able to enter the text using codedstep() ie script step but not with the function calls defined .I'm getting the exception evry time while entering the text as "Null reference exception:Object reference not set to an instance of an object" at Actions.settext(Pages.Gmail.EmailEmail,"k.srikanth");
Please tell me is there any dependencies with this I've tried in different ways but not able to enter the text the other actions are working fine.
Please find the attached project and provide me a solution ASAP. Thanks in advance
Execute GmailLogin.tstest under "TestSuites" folder under Project/solution to encounter the issue
Thanks,
sai