Hi Shantanu, I bet you can still use DP in this case. Loop thru the instructor name in the WebTable object and determine its *index. *This index must the same with the WebCheckbox index.
If you want to get some more info, I'd like you to invite and visit my blogsite. www.smartechnofiles.com, and I would be glad to share you the solution. Cheers! On Saturday, October 26, 2013 3:07:05 AM UTC+8, Shantanu Joshi wrote: > > Hi All, > > I am working on a automation script which makes use of Webtable. > > I have come across following problems while handling this issue: > 1. The Webtable has changing index value. The Webtable index value changes > when any operation on the same page is done(e.g. inserting textbox vale, > checking checkbox). So when I use the same WebTable Object stored in shared > OR in any other script, QTP fails to identify the Webtable object as the > index value changes. > > 2. Also, the WebTable has 2 columns and it does not have any titles for > the columns. The first row values are taken as column names. As the row > values are unpredictable as per environment and data created, we can not > traverse through webtable. > > 3. I want to check a WebCheckBox against an instructor's name present in > that WebTable. The WebTalbe has two columns. 1st one is of instructors name > and 2nd one contains the webcheckboxes for respective instructor names. > > 4. The WebTable object changes as per environment. We dont want to add > many objects per environment. We want to use a single WebTabel object > stored in shared OR which can be used runtime on every environment. > > I have tried using DP(Desc.programng) but as the Webtable properties are > not distinctive, it cant be used. > > Please provide suggestions n solutions for solving the problem > > Your help is appreciated. > > Regards, > Shantanu Joshi > Automation Engineer > -- -- 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.
