Enable WebEdit in QTP - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Enable WebEdit in QTP (/Thread-Enable-WebEdit-in-QTP) |
Enable WebEdit in QTP - bebeo - 09-10-2009 In Website Code: <input class="text_box" type="text" id="txtArrivalR" name="txtArrivalR" style="width:78px;height:12px;" readonly="readonly"/> Can Data read datatable QTP in this textbox? RE: Enable WebEdit in QTP - Saket - 09-10-2009 Hi bebeo, It will help if you can explain your query a bit describing exactly what do you want to do with text box ? It seems you want to check whether a webedit object is enabled or not, you can do this using GetROProperty for the object. RE: Enable WebEdit in QTP - bebeo - 09-11-2009 Thanks! I want entry data input TextBox readonly, because i want enabled TextBox Following statement i want perform Code: Browser("Welcome to ...").Page("Welcome .....").WebEdit("txtArrivalR").SetTOProperty "disabled", "False" RE: Enable WebEdit in QTP - Saket - 09-11-2009 Enabling or diabling through QTP is not possible, until unless the AUT has any feature to do so. 'disabled' and 'readonly' are read only properties of WebEdit which can not be changed. RE: Enable WebEdit in QTP - bebeo - 09-11-2009 How about you have method to handle on QTP? when click in textbox display Dialog? RE: Enable WebEdit in QTP - Saket - 09-11-2009 Very Sorry, But your question is not clear enough.Can you please explain the issue? RE: Enable WebEdit in QTP - bebeo - 09-11-2009 Thanks! I have case successful Implementation RE: Enable WebEdit in QTP - Saket - 09-11-2009 It is always a good idea, if you put your solution here, if you got it. It may help others. I would like to know how you have changed the disabled property of edit box. RE: Enable WebEdit in QTP - basanth27 - 09-11-2009 Bebeo - You will need to have some patience to obtain solutions. From your explanations it was clear Saket was not able to understand you. And, Saket was correct in letting you know that QTP as a tool cannot alter the Run Time properties of any Object. From your explanation above i understand that you wanted to enable a webedit and set values into it. If so, Sorry !!! QTP does not do that. SetTOProperty only alters the Static property for your reference buffer and does not alter the AUT values. I see you ask about click on a webedit brings up a dialog ?? What did you actually mean ?? You want to click on a disabled webedit field and if did so a dialog would appear ?? Either case, now that you obtained the solution i am happy about it. In your future interaction please try to include as much information as possible. RE: Enable WebEdit in QTP - bebeo - 09-14-2009 Thanks all answer I use command Code: Browser("Welcome ....").Page("Welcome ....").WebEdit("txtArrivalR").Object.focus |