Ask a Question

Test start in the current window.

SOLVED
7710407
Occasional Visitor

Test start in the current window.

Hi! I am new in Test Complete. I just try your first tutorial where I try to record and reproduce my actions on smartbear site.
Test navigates in current tab of my browser. So if I was looking some topic. It is closed after test complete. So what should I do to
run test on separate tab and do not touch my current tabs.
Thank you. 

1 ACCEPTED SOLUTION

Accepted Solutions
mattb
Staff

Re: Test start in the current window.

As part of an automated test, we want to make the sequence repeatable. So in a repeatable manner, will the browser always be open, and we need to navigate to another tab to run the test on that tab? Or ideally would we want to run the browser as part of the test? We could always change what browser TestComplete is playing back, so that way it doesn't overwrite or close the current browser.  

This should help the first way: https://support.smartbear.com/testcomplete/docs/app-objects/specific-tasks/standard/tab-control/sele... 

If not just record against chrome, and before playback change the run browser test step to a different supported browser. 




View solution in original post

1 REPLY 1
mattb
Staff

Re: Test start in the current window.

As part of an automated test, we want to make the sequence repeatable. So in a repeatable manner, will the browser always be open, and we need to navigate to another tab to run the test on that tab? Or ideally would we want to run the browser as part of the test? We could always change what browser TestComplete is playing back, so that way it doesn't overwrite or close the current browser.  

This should help the first way: https://support.smartbear.com/testcomplete/docs/app-objects/specific-tasks/standard/tab-control/sele... 

If not just record against chrome, and before playback change the run browser test step to a different supported browser. 




View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: