Pls explain me the difference between ........
Description.Create and CreateObject
Answer Posted / nitin kumar
Discrition.create:
Here Description is a utility object, we can use
this utility object to get list of similar objects in given location of SUT
for ex: set desc=descrition.create 'description is builtin object
desc(micclass).value="browser".............
create object:
it used to create any objects for ex
we can create ms.word doc, and ms.excel doc, text file doc.....
etc
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
What is contained in the object repository?
after click on compose mail how can we attached a file in qtp with vbscript code
What is the architecture of your project? Can any one answer for this question plz........
How many types of Automation frameworks are there in UFT? Describe them.
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Whether qtp 9.0 supports Test director8.0
Explain types of descriptive programming?
Name the properties you would use for identifying a browser and page when using descriptive programming?
What is system testing and what are the different types of tests you perform in system testing?
What are the factors on which script execution time is dependent?
What is environment variable in qtp and why to use it?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
please post the interview questions for QA position in FACTSET