
Custom Search
Sunday, June 14, 2009
Converting HTML Text to Plain Text
HTML and XML are very common entities in the testing/automation world. At time we are required to convert the HTML/XML to a Plain text version. Example of such a conversion can be seen below
The converted text for about HTML would be “Click on the Login link”. One example of such a situation is Reading the description text of a Step
Thursday, June 11, 2009
Select the option from Context menu
' right click and select Required option
intIdx=13 'points the which option to select in the right click menu
wpfWindow("Eclipsys Gateway My").SwfWindow("Prescription Writer").SwfTable("dgOMP").Click 20,20,micRightBtn
Set WshShell = CreateObject("WScript.Shell")
For intLoop = 1 To intIdx
WshShell.sendkeys "{DOWN}"
Next
WshShell.sendkeys "{ENTER}"
Set WshShell = nothing
intIdx=13 'points the which option to select in the right click menu
wpfWindow("Eclipsys Gateway My").SwfWindow("Prescription Writer").SwfTable("dgOMP").Click 20,20,micRightBtn
Set WshShell = CreateObject("WScript.Shell")
For intLoop = 1 To intIdx
WshShell.sendkeys "{DOWN}"
Next
WshShell.sendkeys "{ENTER}"
Set WshShell = nothing
Subscribe to:
Posts (Atom)