03-26-2012, 02:57 PM
Hi all,
Please help me with below issue.
I Have a QTP Script with 3 Actions called into main Action . All the three are Internal Actions.
The script goes this way....
The test ends with Closing the browser. QTP Runs fine till Browser().Close and again start to run only Action 3. In Action 3 it doesnt find the required Objects and Fails.
I Have Datatable Iterations set as "Run One iteration Only" and also in excel sheet only one URL is being used.
I want QTP to run only till Browser Close without going to Actions Again.
What do i need to do for this?
Please help me with below issue.
I Have a QTP Script with 3 Actions called into main Action . All the three are Internal Actions.
The script goes this way....
Code:
DataTable.Import ("\\wax-qms-qc\Test-Automation\ABCURL.xls")
URL = Datatable.Value("URL",dtGlobalSheet)
Systemutil.Run "iexplore.exe",URL
RunAction "Action 1", oneIteration
RunAction "Action 2", oneIteration
RunAction "Action 3", oneIteration
Some test Script......
Browser("").close.
The test ends with Closing the browser. QTP Runs fine till Browser().Close and again start to run only Action 3. In Action 3 it doesnt find the required Objects and Fails.
I Have Datatable Iterations set as "Run One iteration Only" and also in excel sheet only one URL is being used.
I want QTP to run only till Browser Close without going to Actions Again.
What do i need to do for this?