suppose u hav a dialog or window which contains 10 buttons
with same name & value. now how to check each button? i.e.
how qtp indetifies these objects separately?
Answers were Sorted based on User's Feedback
Answer / neeraja
QTP identifies object based on mandatory
properties ,assitive properties which are present in the
object repositery and it also uses its smart identification
if it is enable .if at all it unable to find the object
with this properties it will go for ordinal identifier
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / true friend
This Will Show the order used to identify the object when
two or more objects get duplicated.
tools -> object identification
select the environment
a) standard windows
b) active-X
c) visual basic
d) multi media
select the class
if we select the environment as standard window
and class as winbutton
then it will display
Mandatory properties Assistive properties ordinaliden-
tifier
-------------------- ------------------- ------------
a)Native class a)window-ID a)location
b)Test b)Index
regards
True friend
| Is This Answer Correct ? | 0 Yes | 0 No |
What is keyword view and Expert view in QTP?
want to learn real time automation project(QTP)?
Explain the features of quick test pro(qtp)?
what do u mean by test harnesses in qtp?
what is object and child object.. explain ..if possible give some example for better understanding ..
Hi All, How to Compare two strings character by character in QTP
For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
When we parameterise some field ex. Textbox is there any way that we can generate a specefic number of random values (For alphabetical values if possible) instead of manually entering values in the data table
How to import excel sheet to QC?
any one could you explain the following code with example: intFieldItemsCnt =CInt(GetProperty(Browser ("Browsername").Page("Pagename").Weblist ("weblistname"),"items count")) msgbox intFieldItemsCnt
hw to create a frame work in qtp..what are the basic steps