suppose u hav a 10 dialog or window opened on screen with
same name & value. now how to test each window? i.e. how
qtp indetifies these objects separately?
Answers were Sorted based on User's Feedback
Hello mr.Sushil, Understand question clearly. he said
windows or dialog boxes. not browser's and page's, for 10
browsers with same name we should go for ordinal Identifier
(Creation Time).
for windows we should go for Ordinal Identifier(Index).
With index qtp will identify window based on individual
developed code of window or dialog(which window/dialogbox
developed first).
if in same window or dialog we should go for location.
I hope I am correct.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / sushil
the only correct answer:
we will use ordinal identifier in such situation.
since it is browser so creation time will be used.
we can't use other ordinal identifier like index or location
so code for that.
browser(CreationTime:=1).Dialog( )...give as per your
requirment.
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / toly
You can get the result by 'Insert -> Output Value -> Text
Output Value' when you recording.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / srinivas374
we can use Regular expressions concept. in qtp.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kishore
QTp will ideentifie By using index property which will be
uniqe
| Is This Answer Correct ? | 1 Yes | 1 No |
How to recognise the webelement and verifying that webelement is enabled?
In Datatable having the data like this S.no Name Address 1 raj hyderabad 2 suresh Mumbai 3 shyam chennai 4 dev banglore i want to get the shyam row id & column id using scipting i.e 3,3
Can I do Game testing with QTP tool
explain virtual object? in detailed? pls any one explain me?
how i will connect oracle or microsoft acess database through manually written Script
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
what is the hierarchy to use properties in descriptive programming
What is ObjectParamater?
What is SQL injection?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example
What is object & properties (in QTP)