r u sure that web element exist in row2 col 1.. there might be some hidden rows & columns , try to increase the colmn value and verify
and Disable Smart Identification in OR for all objects On Fri, Dec 30, 2011 at 1:47 PM, shashi qa <[email protected]> wrote: > I have tried as per your instructions but Qtp is not clicking on the link > > set a = browser("Eloqua").Page("Eloqua : > SonoSite").Frame("Frame").WebTable("Form").ChildItem(2,1,"WebElement",0) > a.click > > > Can any one help me... > > > Regards > Shashi > > On Thu, Dec 29, 2011 at 9:37 PM, Anish Pillai <[email protected] > > wrote: > >> Hi Shashi, >> >> If you directly add the object (which is inside the webtable), QTP would >> not add the web table object in the repository. In case you want to add >> webtable in the OR, you have to select that only in the object spy. Even if >> you do that also, the object inside the webtable would not come under >> webtable in the OR. You can use the below method to click on the Webelement >> in a table. >> >> Suppose you want to click on WebEl_1. Now this webelement is in 1st row >> and 4th column. And within cell(1,4) this Webelement occurs at 0th index. >> >> Val1 >> >> Val2 >> >> Val3 >> >> *WebEl_1 WebEl_2 WebEl_3* >> >> 1. First add the WebTable in OR. >> >> 2. Then use the ChildItem method of webtable... >> >> Browser("b").Page("p").Frame("f").WebTable("wt").ChildItem(1, 4, >> "WebElement", 0).Click >> >> >> *Regards, >> Anish Pillai >> >> [Automation Repository] <http://www.automationrepository.com/> >> >> [Subscribe via >> Email]<http://feedburner.google.com/fb/a/mailverify?uri=automationrepository/feeds> >> [RSS Feed] <http://feeds.feedburner.com/automationrepository/feeds>* >> >> -- >> Regards, >> Anish Pillai >> My QTP Blog <http://automationrepository.blogspot.com> >> >> >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> > > > > -- > Regards > > Shashidhar > +91 -8125564879 > [email protected] > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
