05-14-2010, 12:54 PM
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:
Thanks!
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!