how to identify the objects if application consists of objects
that have same properties.
Answers were Sorted based on User's Feedback
Answer / nitin sharma
suppose your object name is "obj"
then write this script
set "obj"=Description.Create()
obj("property").value=Class of object
set a=browser("browser").page("page").childobject(objectname)
msgbox a.count
For i=0 to a-1
DataTable.SetCurrentRow(i+1)
DataTable("URL",dtGlobalSheet)=a(i).getroproperty("url")
Next
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / pravati
Through index property we can identify the object
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rjkumarmacha@gmail.com
if object properties dynamically changed, we can go for
descripetive prg.
in d.p we can't find object so that take additional
properties of object
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / khushi
U can identify the object of similar property name and property value through its x and y pixeles available under object identification or go for dynamic descriptive programming
| Is This Answer Correct ? | 0 Yes | 3 No |
how u will evaluate the tool for test automation?
In Keyword driven frame work you have write 30 test case for one scenario,in which 10 test cases are failed while executing.client asked you to execute only the failed test cases. HOw can you execute only failed test cases
give the code to count child objects (Total) in the page
How u connect bugzilla with QTP
1 Answers Deloitte, TCS, Wipro,
Hi , I am new to VBscripting, My requirment is to write a vbscript to read a row (which has coloumns like Description, Code, date(DD/MM/YY), hours etc) and export these feilds to a Website and then click on Submit Automatically on that web page. This it should do for all the Rows in that excel file. Any help is much appriciated Thanks Shalini
Hi frnds, for ex.. we got a job in wipro, they will give me one mail id.. "Rameshkumar@wipro.com", where to open this mail id..in which sw ? or outlook?
how to test background color and dynamic images during runtime
Scenario:2 combo boxes.1st combo contains a,b,c,d.2nd combo contains 10..20,20..30,30..40,.Selecting 'a' shld display 10...20,'b' shld display 20..30.. and so on.tell d script? 2.Random testing of 500 test cases in qtp?
1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?
What is the difference between a Function and Procedure in QTP?
what is the use of VIRTUAL OBJECTS? explain ?
If an application name is changes frequently i.e while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?