Hi shashi, why are you using name property... i checked that HTML ID remains same even name of button changed. use HTML ID property.
Thanks Neeraj On Tue, Jan 10, 2012 at 5:05 PM, shashi qa <[email protected]> wrote: > Suman, > Thanks for your Help. > > But I tried this but its not working ..It is not getting the save a quote > button > > > Regards > Shashi > > > On Tue, Jan 10, 2012 at 2:37 PM, suman ch <[email protected]> wrote: > >> Hi Shashi, >> >> I have checked the object it's showing as WebElement. I have used the >> childitem method of webtable and got the reference to the obj inside the >> table. >> >> 1. First add the webtable into the obj repository. It's adding as Model >> by name. >> >> use below code for reference: >> >> set quoteobj = Browser("M-Turbo Ultrasound Machine.").Page("M-Turbo >> Ultrasound Machine.").WebTable("Model").ChildItem(2,5,"WebElement",1) >> >> quoteobj.click >> >> Its clicking on the first get quote button. >> >> Regards, >> Suman CH >> >> On Mon, Jan 9, 2012 at 4:11 PM, shashi qa <[email protected]> wrote: >> >>> Hi, Hope you are doing good I am unable to click on a dynamic button >>> >>> >>> >>> Steps: >>> >>> 1)Go to http://www.sonosite.com/products/m-turbo >>> >>> 2)click on transducer tab >>> >>> 3)click on the “ get a quote” button >>> >>> >>> >>> >>> >>> I am unable to click on that button. >>> >>> >>> >>> >>> >>> My test case is as followed . >>> >>> When I click on that button the buton name changes from “get a quote” to >>> saved and the NO of the "get a quote" in the top blue bar will increase >>> >>> >>> >>> Please Suggest me a solution. >>> >>> >>> >>> >>> -- >>> 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 > > > > > -- > 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
