05-26-2011, 03:06 AM
Hi QTP Experts,
I tried to enter value from the application by selecting the value from datatable ....
THere is no problem when i set value (by select from datatable) on Webedit. (it means that the value is set on the webedit there). But the problem is:
After i click Save button on my application , the value is gone (it means that the value doesn't save ). Here is my script:
Would you please help as soon as possible?
Thanks,
I tried to enter value from the application by selecting the value from datatable ....
THere is no problem when i set value (by select from datatable) on Webedit. (it means that the value is set on the webedit there). But the problem is:
After i click Save button on my application , the value is gone (it means that the value doesn't save ). Here is my script:
Code:
b= datatable ("version", "Action1")
Browser("...........").Page("....").Webelement("WebResource_2").Click
Set oedit = Browser(" ").Page(" ").WebElement("Webresource_2")
Oedit.object.innnertext = b
Browser(" "(..................Webbutton("save").click.
Would you please help as soon as possible?
Thanks,