qwebelement - Setting a value in a QTP webElement but it doesn't remain after leaving the page -


i have droplist qtp recognizing webelement. have found several ways set value in webelement once go page in app , return main page, value in webelement no longer there. i'm using...

browser("policy add").page("policy add").webtable("transaction effective").webelement("dbo").object.innertext= "cash refund"  set oedit = browser("policy add").page("policy add").webelement("dbo") oedit.object.innerhtml = "cash refund" 

i have seen several articles using fireevent, don't understand how works. set value in webelement 1 of above commands , fire , event or specify fire event , occurs automatically when 1 of options "onchange".

i have searched can think of , tried can think of , still have problem. have checked hp - qtp knowledge base , can't find there either.

answer here http://www.knowledgeinbox.com/articles/qtp/how-to/web/how-to-set-text-in-a-webelement-or-frame/

i checked method 2 chrome , works correct


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -