This is a migrated thread and some comments may be shown as answers.

Launching to site when playing back

3 Answers 75 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 05 Aug 2011, 03:48 PM

I notice if I view the source for the automated script that the script does not launch to the Navigated URL.  Is this a known issue?

Thanks,

John

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 05 Aug 2011, 04:00 PM
Hi John,

I'm not sure I understand "view the source for the automated script" can you please clarify this? Do you mean you are opening up the .tstest file and looking at our xml for the test script? The format for .tstest files is proprietary and may change at any time as we add features.

Or did you mean the "Preview Code" feature? The NavigateTo step is included there, for example:

//
public void AutoTrader()
{
        // Launch an instance of the browser
        Manager.LaunchNewBrowser();
 
 
        // Navigate to : 'http://www.autotrader.com/'
        ActiveBrowser.NavigateTo("http://www.autotrader.com/");

If you meant something else can you please elaborate on what/where this behavior exhibits itself?

Best wishes,
Cody
the Telerik team
Vote for Telerik Test Studio at the Annual Automation Honors Voting!
0
john
Top achievements
Rank 1
answered on 05 Aug 2011, 05:21 PM
no, it seems as if when I click customize code as a selection, the next time I run the automation the web browser comes up but is not directed to the testing web page.

thanks,
John
0
Cody
Telerik team
answered on 05 Aug 2011, 08:00 PM
Hi John,

You're saying you right click on the NavigateTo step, select "Customize Step in code" then execute the test and it no longer navigates to the first page? I am unable to reproduce this problem. Are you using the standalone version or the VS Plug-in version? If you're using the VS plug-in version, did you remember to rebuild the project before clicking Execute? If you forget to do this, the test will run with an old/left over copy of the test dll and it will be missing the coded NavigateTo step.

If you have done all those steps, can you share your test project that reproduces this problem?

Greetings,
Cody
the Telerik team
Vote for Telerik Test Studio at the Annual Automation Honors Voting!
Tags
General Discussions
Asked by
john
Top achievements
Rank 1
Answers by
Cody
Telerik team
john
Top achievements
Rank 1
Share this question
or