Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running test in bach mode failing some code
#1
Not Solved
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.

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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT24.2 and Chrome Browser is not resnponding mode kotaramamohana 0 76 11-12-2024, 05:33 PM
Last Post: kotaramamohana
  Running test with multiple browsers mvi63 0 2,779 06-25-2014, 06:49 PM
Last Post: mvi63
  Same code on running with UFT11.5 gets slow and browser hangs but works fine inQTP11 Rashi 1 2,529 03-02-2013, 04:12 PM
Last Post: vinod123
  how to handle errors while running test batch script sureshkumar 0 2,095 11-11-2011, 04:38 PM
Last Post: sureshkumar
  How to open a word document in landscape mode through QTP nagappank 0 2,950 03-01-2011, 04:32 PM
Last Post: nagappank

Forum Jump:


Users browsing this thread: 1 Guest(s)