07-12-2011, 02:09 AM
1.If you manually enter values(without using qtp), do they get saved?
2.After executing the line Oedit.object.innnertext = b, do you see that value on page? if you are not sure, put a breakpoint on next line of it and let me know
[/quote]
Thanks for your reply.
1. Yes, it saved when entering value by manually
2. Yes I put break on next line, i don't see the value entered after executing Oedit.object.innnertext = b
3. It seems that QTP has problem with webedit or webelement. I use this code below, the value sometimes entered on first grid and second grid , and sometime the value entered on first grid but not on second grid.
Browser("").Page("").WebElement("WebResource_2").Click
Browser("").Page("").WebEdit("WebEdit").Set b
Browser("Customer Inquiry").Page("").WebEdit("WebEdit").Object.innerText ="1.1"
Can you show the different way to enter value by using webtable by using column , row.?
Please let me know.
Thanks.
2.After executing the line Oedit.object.innnertext = b, do you see that value on page? if you are not sure, put a breakpoint on next line of it and let me know
[/quote]
Thanks for your reply.
1. Yes, it saved when entering value by manually
2. Yes I put break on next line, i don't see the value entered after executing Oedit.object.innnertext = b
3. It seems that QTP has problem with webedit or webelement. I use this code below, the value sometimes entered on first grid and second grid , and sometime the value entered on first grid but not on second grid.
Browser("").Page("").WebElement("WebResource_2").Click
Browser("").Page("").WebEdit("WebEdit").Set b
Browser("Customer Inquiry").Page("").WebEdit("WebEdit").Object.innerText ="1.1"
Can you show the different way to enter value by using webtable by using column , row.?
Please let me know.
Thanks.