It seems Interview questions from Ordain Solutions are
almost BASIC LEVEL-Easy.
I am asking one tough question..(I think.. May be easy for
some people)
In recorded script the - WebLink("cityinfo")
In reality, the WebLink name is "generalinfo"
How you can write function to click that changed web link.
NOTE: This functin should work with any Dynamic text link.
I will post the answer later.
Answer Posted / ashish wadhwa
Suppose the Browser name is "A" and the Page name is "B"
and say we have to pass any object whose name has been
changed. So, this object can be used as an argument in the
application along with the mandatory property "html tag".
Here as an example say the object name is "C". Note, this
object should be added in the object repository with its
name property as ".*" So, the function will be
Function clickItem(itemName,HTMLTag)
Browser("A").Page("B").WebElement("C").SetToProperty
("name"), itemName
Browser("A").Page("B").WebElement("C").SetToProperty("html
tag"), HTMLTag
Browser("A").Page("B").WebElement("C").Click
End Function
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
after click on compose mail how can we attached a file in qtp with vbscript code
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
What are the differences between quicktest professional and winrunner?
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
What is the use of running the scripts in Hidden-mode in UFT?
How to handle the exceptions using recovery secnario manager in quicktest professional?
Why we load add-ins in qtp?
Where we can use the analog mode and where we can use the low – level mode?
How does quicktest professional identifies the object in the application?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
How to test results for qtp ?
what is clean sweep?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com