12-14-2009, 12:08 PM
Hi,
I have two queries
1)
I am running below code to get a particular record in a webtable. when i run test in debug mode using QTP it works fine and returns target web element but some times it fails when i run straigh particularly using bath runner tool.
2)
In my batch i have 5 test script. After batch execution i can only see test results of last opened test script in QTP. Is there any way that i can see test report of all 5 executes test scripts combined in one final test report
any help is welcome
I have two queries
1)
I am running below code to get a particular record in a webtable. when i run test in debug mode using QTP it works fine and returns target web element but some times it fails when i run straigh particularly using bath runner tool.
Code:
Set oDesc = Description.Create()
oDesc("micclass").Value = "WebElement"
oDesc("innertext").Value = HotLst_ID
Set ElementCollection = Browser("projectCentre QTP:TEST-BT:").Page("projectCentre QTP:TEST-BT:").Frame("ToDoRegFrame").ChildObjects(oDesc)
NumberOfelements = ElementCollection.Count
2)
In my batch i have 5 test script. After batch execution i can only see test results of last opened test script in QTP. Is there any way that i can see test report of all 5 executes test scripts combined in one final test report
any help is welcome