You will need to fetch webtable's child item in a specific cell (using row and column) and then click on that WebElement using it's arrangement index in that cell. obj = Br.Pg.webtable(WbTbl).ChildItems(row, column, "WebElement", Index) to perform action obj.Click
On Wed, Apr 3, 2013 at 6:10 PM, Ganesh muralidharan <[email protected]>wrote: > Browser("").Page("").**WebElement("Name").click - Your code identifies > the Webelement inside the Page not inside the WebTable. You should identify > the WebTable and then using child go to the specific row and column to > click on the WebElement. > > > On Wed, Apr 3, 2013 at 7:31 AM, <[email protected]> wrote: > >> ** >> If you are using QTP 11, then use XPATH to identify last row, no need to >> iterate it. >> Sent on my BlackBerry® from Vodafone >> ------------------------------ >> *From: * Akhalesh Yadav <[email protected]> >> *Sender: * [email protected] >> *Date: *Wed, 3 Apr 2013 17:19:33 +0530 >> *To: *<[email protected]> >> *ReplyTo: * [email protected] >> *Subject: *Re: Problem on click WebElment on a webtable >> >> First you have to need count the rows at run time and run loop untill you >> will not get last row element. >> >> >> On Wed, Apr 3, 2013 at 5:05 PM, <[email protected]> wrote: >> >>> Hello, >>> >>> I have a table that it has a dynamic objects, so i would like to select >>> the last row in that table; the problem is when i record and run it the >>> item is not selected >>> this is the code : Browser("").Page("").**WebElement("Name").click >>> how can i do that >>> >>> Many Thanks. >>> >>> -- >>> -- >>> 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 >>> Groups "QTP - HP Quick Test Professional - Automated Software Testing" >>> group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> >> >> -- >> Akhalesh yadav >> +919555717928 >> +919310680659 >> >> -- >> -- >> 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 Groups >> "QTP - HP Quick Test Professional - Automated Software Testing" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> -- >> -- >> 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 Groups >> "QTP - HP Quick Test Professional - Automated Software Testing" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Regards, > > > Ganesh Muralidharan > 'God Never Forgets' > > -- > -- > 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 Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- 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 Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
