what is Smart identification
Answer / prasad
smart identifaction is object property.
if the QTP is unable to identify the object by using
mandatory and assistive properties then u can enable smart
identification...
in smart identification we are having 2 types of properties
i.e. base filter properties and optional filter properties
| Is This Answer Correct ? | 8 Yes | 2 No |
There are some links on the page,count and click those links and check the text on the page displayed on clicking the link.write script for this scenario.
Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?
draw the qtp frame work?
Hi I have created a table in the MS access database. I want to access the table in this database through QTP. The code is given below. The code is not working.The following error is displayed "Data source name not found and no default driver specified". Any one can correct the code. Thanks in advance. Dim dbconnection, rs Dim ca, sname Set dbconnection = createobject("ADODB.Connection") Set rs = createobject("ADODB.Recordset") dbconnection.open "DSN = MS Access Database","", "" rs.open "select * from Research", dbconnection rs.movefirst If rs.EOF <> True AND rs.BOF<> True then ca = rs("order_number") sname = rs("customer_number") rs.movenext msgbox ca msgbox sname End If
How Does Run time data (Parameterization) is handled in QTP?
What is VSS? Is it used in Automation(QTP) Or Manual? what is menus in VSS?
How to test menu options using qtp
When using descriptive programming?
What is active screen?
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
Error handling
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?