Still it is selecting first Status1 and next selecting Status2 (With this it
is deselecting Status1) and so on. :-(

On Wed, Jun 29, 2011 at 9:35 AM, ESWAR <[email protected]> wrote:

> Hi,
>
>
> Browser("Browser").Page("page").WebTable("Table").WebElement("Status1").Cli­
> ck
> Const VK_CONTROL = 29
> Set deviceReplay = CreateObject("Mercury.DeviceReplay")
> deviceReplay.KeyDown VK_CONTROL
>
> Browser("Browser").Page("page").WebTable("Table").WebElement("Status2").Cli­
> ck
> deviceReplay.KeyUp VK_CONTROL
> deviceReplay.KeyDown VK_CONTROL
>
> Browser("Browser").Page("page").WebTable("Table").WebElement("Status3").Cli­
> ck
> deviceReplay.KeyUp VK_CONTROL
>
>
> Try the above one and let me know... if you are facing any
> issue..........
>
>
>
>
>
> On Jun 28, 5:03 pm, chinna s <[email protected]> wrote:
> > Thanks for the reply all...
> > I have tried using device replay method but still it is selecting single
> > record. not selecting mutiple.
> >
> > Code added like:
> >
> ---------------------------------------------------------------------------­-------------
> > Const VK_CONTROL = 29
> > Set deviceReplay = CreateObject("Mercury.DeviceReplay")
> > deviceReplay.KeyDown VK_CONTROL
> >
> >
> Browser("Browser").Page("page").WebTable("Table").WebElement("Status1").Cli­ck
> >
> Browser("Browser").Page("page").WebTable("Table").WebElement("Status2").Cli­ck
> >
> Browser("Browser").Page("page").WebTable("Table").WebElement("Status3").Cli­ck
> >
> > deviceReplay.KeyUp VK_CONTROL
> >
> ---------------------------------------------------------------------------­-------------
> >
> > With this code Still it is selecting first Status1 and next selecting
> Status
> > 2(With this it is deselecting Status1) and so on.
> > It needs to Select Status1,Status2 and Statu3 without deselecting the
> > previous selection.
> > Any other ideas please.
> >
> > Regards,
> >
> >
> >
>  > On Mon, Jun 27, 2011 at 10:00 AM, ESWAR <[email protected]>
> wrote:
> > > 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- 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
>

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