Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can QTP test the overall turnaround time?
#5
Solved: 11 Years, 4 Months ago
oh sorry..i only have the qtp scrpts...
Here's the case:
I have an employee record with personal info but with no Address info yet. Now, i added the address info, saved and stored in the database thru QTP. In QTP, i inserted a database output value step (then displayed in data table - global sheet).
I want to determine the time "from the point of invoking the db output value step to the point of retrieving the data (form the db) and displaying it in the data table."

scripts from qtp:
Code:
Browser("Pension 2010").Page("Pension 2010_2").WebElement("WebTable").Click
Browser("Pension 2010").Page("Pension 2010_2").Link("Add").Click
Browser("Pension 2010").Page("Pension 2010_2").WebEdit("_ctl5:S_PERSON_ADDRESS:dgSPersonAdd").Click
Browser("Pension 2010").Page("Pension 2010_2").WebEdit("_ctl5:S_PERSON_ADDRESS:dgSPersonAdd").Set "222220003"
Browser("Pension 2010").Page("Pension 2010_2").WebList("_ctl5:S_PERSON_ADDRESS:dgSPersonAdd").Select "Home"
Browser("Pension 2010").Page("Pension 2010_2").WebEdit("_ctl5:S_PERSON_ADDRESS:dgSPersonAdd_2").Set "2010 QA DRIVES"
Browser("Pension 2010").Page("Pension 2010_2").WebEdit("_ctl5:S_PERSON_ADDRESS:dgSPersonAdd_3").Set "LEXINGTON"
Browser("Pension 2010").Page("Pension 2010_2").WebEdit("_ctl5:S_PERSON_ADDRESS:dgSPersonAdd_4").Set "NC"
Browser("Pension 2010").Page("Pension 2010_2").WebEdit("_ctl5:S_PERSON_ADDRESS:dgSPersonAdd_5").Set "27295"
Browser("Pension 2010").Page("Pension 2010_2").WebList("_ctl5:S_PERSON_ADDRESS:dgSPersonAdd_2").Click
Browser("Pension 2010").Page("Pension 2010_2").WebList("_ctl5:S_PERSON_ADDRESS:dgSPersonAdd_2").Select "United States"
Browser("Pension 2010").Page("Pension 2010_2").WebList("_ctl5:S_PERSON_ADDRESS:dgSPersonAdd_3").Select "Update/Insert"
Browser("Pension 2010").Page("Pension 2010_2").Link("Save").Click
DbTable("DbTable_5").Output CheckPoint("DbTable_2")


Thanks!
Reply


Messages In This Thread
RE: Can QTP test the overall turnaround time? - by charmieaka - 05-14-2010, 12:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  JavaDialog change every time i run my test Pkapoor 3 2,996 06-28-2013, 09:27 PM
Last Post: Ankur
  QTP Real-time Test Script for sap application kamal262007 1 3,450 10-03-2012, 10:35 AM
Last Post: Ankesh
Toungue QTP Test Parameters scope in QC Test Set bfakruddin 0 2,123 02-02-2012, 04:05 PM
Last Post: bfakruddin
  Test case run time differs-Why? Uma 4 3,981 10-17-2011, 06:09 PM
Last Post: Uma
  How much time will it take for QTP to Execute 10 test cases . siri 5 10,198 09-26-2011, 04:39 PM
Last Post: test

Forum Jump:


Users browsing this thread: 1 Guest(s)