06-13-2012, 02:13 PM
Hi,
As per the snap shot, u are searching some text and u r getting a list based on ur search.
Try the below code it might help u:
Wait 2
'In last line of code..webelement("innertext.....) use object spy to get the properties of list displayed and use thoes properties values here.
For 2nd query, Yes u can handle ajax ..for that u have 2 go for Ajax suppoted addin.
Let me know in case of any help required.
Regards,
Sankalp
As per the snap shot, u are searching some text and u r getting a list based on ur search.
Try the below code it might help u:
Code:
Set WshShell = CreateObject("WScript.Shell")
wait (1)
WshShell.SendKeys "<text to search>"
wait(1)
Set WshShell = Nothing
wait 4
Browser("").Page("").Frame("").WebElement("innertext:=test","index:=1").Click
Wait 2
'In last line of code..webelement("innertext.....) use object spy to get the properties of list displayed and use thoes properties values here.
For 2nd query, Yes u can handle ajax ..for that u have 2 go for Ajax suppoted addin.
Let me know in case of any help required.
Regards,
Sankalp