Hi,
Sometimes qtp identifies the edit and list boxes as elements. in such cases
we can user windowshost script to pass some text to the perticular field.
try with this code:
News1="Obama special"
Browser("Home").Page("Home Page
Configuration").Frame("Frame_2").WebElement("Paragraph text_1").highlight
Browser("Home").Page("Home Page
Configuration").Frame("Frame_2").WebElement("Paragraph text_1").Click
wait 2
Set wsh=createobject("WScript.Shell")
wsh.sendkeys News1
regrds,
venkat
On Wed, Dec 9, 2009 at 3:10 PM, Daim <[email protected]> wrote:
> Property Name and their values for WebElement
>
> innertext = High
> outertext = High
> Class Name = WebElement
> class = x-combo-list-item
> html tag = DIV
>
> The values for other WebElement is same except for the innertext.
>
>
> --
> 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]<mercuryqtp%[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