What is the use of "Define new test object" in QTP 9.1
When should we use? Explain?
Answers were Sorted based on User's Feedback
yeah good question...
in some situations we have to prepare the scripts before
the application is delivered for testing. at that time you
can not capture the objects from application, right? so,
what you can do is you can create the test objects manually
based on the test case says, and can prepare the scripts.
once the application is ready we will debug the script to
check whether QTP is identifying the objects with the user
defined test object description. if not identifying u can
change the properties of those objects.
and another situation, when you are capturing some
objects to Object Repository some of the objects may be
invisible. they will come to visible only in some
situations. so, you will create one user defined test
object even that object is invisible.
may be this can answer your question, if not please
reply me again. i can add some more description.
| Is This Answer Correct ? | 3 Yes | 0 No |
Thank you nanda...
U r right..
Second one is Okay..
But one thing I have not understood is that, after writting
the code, should we add properties to the repository?
I knew two ways to write script.
1. Add objects to the repository and use them in script.
2. Assigning the property values to the properties
directly, without using OR (Discriptive programming)
But here not using either OR or object property values in
the script
How the QTP identfies the objects of an application.
suppose I have written like this.(if it is web based)
Browser("Rayudu").Page("ray").link("livetek").click
Once application ready how can I run this on the
application.
ok
should we use settoproperty???
| Is This Answer Correct ? | 0 Yes | 0 No |
difference between GetRoProperry and GetToProperty.and where we've to use exactly those properties
Which statement will use for close an action in QTP?
how you test broken link using the automated tool QTP ?
Hi, Can any one explain what is mean by Driver Script? is it AOM?
how do pass parameters from one action to another action
can we do load testing , by using QTP......?
Explain in brief about the QTP Automation Object Model.
Write a script to customize the test results in PDF and HTML format.
Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example.
Plz explain about MATCH/EXACT MATCH/IGNORE SPAGE in text check points?
1. How can we use same object repository and Testscript which is in English flavor to check the application in different languages thru QTP?(Chinese,Dutch,French) - I generated script in english and want to use the same script with different languages? - for windows i used regular expressions - I need for edit box,button and combobox, (English,French,Dutch,Chinese) These are the properties of a button in different languages Properties English Dutuch Chinese French x 400 758 631 601 y 673 603 592 676 windowstyle 1342242816 1342242816 1342242816 1.34E+09 windowid 2 2 2 2 windowextended style 4 4 4 4 width 120 120 120 120 visible TRUE TRUE TRUE TRUE righttoleft reading FALSE FALSE FALSE FALSE righttoleftlayout FALSE FALSE FALSE FALSE rightaligned FALSE FALSE FALSE FALSE regexpwndtitle cancel Loschen Chinese language Annuler regexpwndclass button button button button objectclass button button button button hwnd 132872 657228 656932 656782 height 33 33 33 33 focused FALSE FALSE FALSE FALSE enabled TRUE TRUE TRUE TRUE attached text abs_y 669 599 627 597 abs_x 396 754 588 672 text cancel Loschen Chinese language Annuler nativeclass button Button ordinal Identifier type,Value none none none none smartidentification FALSE FALSE FALSE FALSE comment
How can i get QTP 9.2 software or any webside where i can download ? can anyone help me out , i want to be expert in QTP ,but i don't have the software