05-18-2011, 10:20 AM
Hi,
Can anyone resolve below query:
Scenario - Select two web tables from the application
1. Select first web table
2. Press Ctrl button from keyboard
3. Select second web table
Bwlos is the code i tried:
Thanks,
Ravi
Can anyone resolve below query:
Scenario - Select two web tables from the application
1. Select first web table
2. Press Ctrl button from keyboard
3. Select second web table
Bwlos is the code i tried:
Code:
Set ODesc=Description.Create()
ODesc("html tag").Value="TABLE"
ODesc("text").Value="ABC"
Browser("S2 Product Control").Page("P&L View").WebTable(ODesc).Click
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys("^")
Set ODesc1=Description.Create()
ODesc1("html tag").Value="TABLE"
ODesc1("text").Value= "XYZ"
Browser("S2 Product Control").Page("P&L View").WebTable(ODesc1).Click
Thanks,
Ravi