Hi,

   Try to use the below code for multiple selection..



Const VK_CONTROL = 29
Set deviceReplay = CreateObject("Mercury.DeviceReplay")
deviceReplay.KeyDown VK_CONTROL

'*    Use Your Code For Selecting The Row.......

deviceReplay.KeyUp VK_CONTROL


Regards,
Eswar


On Jun 24, 6:07 pm, "Byzoor.,IAS" <[email protected]> wrote:
> Same Issue i am facing.
> What about your commen condition for select mutilple row.?
>
> I got solution using Device Replay method.
>
> Happy Tester,
> Byzoor,
>
>
>
> On Fri, Jun 24, 2011 at 6:19 PM, avinash vl <[email protected]> wrote:
> > try this
>
> > a = Browser("Browser").Page("page").WebTable("Table").ChildItem(rowN0,
> > ColumnNo, "WebElemnt", 0)
> > a.getRoProperty("innertext")
>
> > not sure is this the one you are asking.
> > if possible provide screen shot for that column
>
> > On Fri, Jun 24, 2011 at 1:23 PM, chinna s <[email protected]> wrote:
>
> >> Hi,
>
> >> I have a query regarding multiple records selection in a webtable using
> >> Shift/Ctrl key.
> >> Scenario:
> >> In a Webtable having more than 1 records, in that i need to select
> >> some records. if it is manual i can select using combination of Shify/Ctrl
> >> key.
> >> Code for selecting single record:
> >> Browser("Browser").Page("page").WebTable("Table").WebElement(oDesc).Click
> >> The same i required to select more than 1 record.
> >> I have googled out but could not succeed.
> >> Can anyone help me out in this.
>
> >> 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
> > "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- Hide quoted text -
>
> - Show quoted text -

-- 
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

Reply via email to