in a web table , i want you to click a particular object inside cell
Answers were Sorted based on User's Feedback
Answer / bhargavi
We can achieve it using ChildItem() method
Syntax object.ChildItem(Row,Column,Micclass,Index)
Assume there is a webtable with name "UserDetails" in a page.We have to click a link which is in first row,first column of webtable.Then the code will be as follows:
Browser("title:=Gmail").Page("title:=Gmail").Webtable("name:=UserDetails").childitem(1,1,"Link",0)
Note:Assuming browser & page property 'title' value as "Gmail"
| Is This Answer Correct ? | 12 Yes | 1 No |
browser("index:=0").page("index:=0").webtable("index:=0").childitem(2,1,"Link",0).click
| Is This Answer Correct ? | 3 Yes | 0 No |
Can anyone please explain me the process of automating an application using QTP as i am new to this?
what r the main benefits of automation?
What type of framework you are using in your company and explain it?
what is the difference between wait and wait function
How to test login page by using QTP
How you can make an action as re-usable action?
How to find given string is palindrome or not without using strreverse() function?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
what do u mean by test harnesses in qtp?
How does QTP identifes the object in the application?
how to test globalisation testing using qtp? lets take an example: suppose i have to test the word is in hindi "ratikanta", how we test it by using descriptive programming or any method??
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!