This question is locked. New answers and comments are not allowed.
Hi Team,
I am trying trial version of Develop edition. I am creating script on silverlight application. I have recorded the script and converted all thet code in MSTest format. My recorded steps are like this
Step 1. Login in to the silverlight application
Step 2. Enter values in form appears after login.
Problem I am facing : Some times it throws time our error when it takes time to find objects on form(Step 2 above) after login. This issue occurs when login process takes some time.
To avoid this problem i have written code (for Step 2 as mentioned above) as below:
<after login>
But still some times it throws time out error for object 'FrameContentFrame'. Please suggest me perfect solution. Also direct me to some links(blog/forums) where i can go through advance level of commands( like changing tool setting, configuration for execution, wait, time delay etc) if possible.
I am trying trial version of Develop edition. I am creating script on silverlight application. I have recorded the script and converted all thet code in MSTest format. My recorded steps are like this
Step 1. Login in to the silverlight application
Step 2. Enter values in form appears after login.
Problem I am facing : Some times it throws time our error when it takes time to find objects on form(Step 2 above) after login. This issue occurs when login process takes some time.
To avoid this problem i have written code (for Step 2 as mentioned above) as below:
<after login>
Pages.Application.FrameContentFrame.Timeout = 1000000;
Pages.Application.FrameContentFrame.SilverlightApp.Timeout = 1000000;
Pages.Application.FrameContentFrame.SilverlightApp.FirstNameTextbox.Wait.ForExists(5000000);
But still some times it throws time out error for object 'FrameContentFrame'. Please suggest me perfect solution. Also direct me to some links(blog/forums) where i can go through advance level of commands( like changing tool setting, configuration for execution, wait, time delay etc) if possible.