We are using the QTP version 9.0 where we want to call
objects from global repository for a particular function
at runtime for increasing the performance of framework.We
are actually looking for loading the objects under test
(OAT) dynamically when script runs and would like to unload
the same once the execution of the script is completed.
Answers were Sorted based on User's Feedback
Hai..using Object Repository Manager u can open ur global
repository file..in that Object Repository Manager under
the tool menu merge object repository option is
available..using that merge object repositoy tool u can
mege all the object repository files..then save it as
global repository file..
| Is This Answer Correct ? | 1 Yes | 0 No |
it's not possible to load particular objects in a object
repository file..if u want increasing the performance of
framework...then write descriptive programming.through
script you can load the object reposiotry..but u can't load
particular objects in that object repository file..if i am
wrong ..then tell me the answer..ok.na.
| Is This Answer Correct ? | 1 Yes | 1 No |
How to handle recovery scenario for a application crash.write script for this.
How can we perfom Action and Component parameter.?
Distinguish between manual testing and automation testing
How can we QTP Scripts in xml format? is there any way to do so?
Can I do Game testing with QTP tool
I want to learn QTP Online, where can I get quality training?
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
How to "Turn Off" QTP results after running a Script?
How to run a test using quicktest professional?
Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.
How to Compare two database tables by using QTP?Please give me code details.
How to make Non reusable actions into reusable action? is that feature available in QTP