SPONSORS:






View RSS Feed

harjeet16

Objects identified as webelements but functioning as webedit - How to set values

Rate this Entry
by , 03-25-2013 at 07:02 PM (2414 Views)
Hi,
In our application we have some objects inside webtable which on spy shows as WEBELEMENTS but you can put text in those .
But using set method on those objects is giving "Method Not supported" error beacuse they are webelements.

Please suggest way to put text in such objects using VBScript in QTP

Regards
Tags: None Add / Edit Tags
Categories
Uncategorized

Comments

  1. vinodfg's Avatar
    • |
    • permalink
    We have to set value into a WebEdit which is embedded into a Web Element. Only after clicking on the web element, QTP can identify/see the Web Edit object. "Spy" did not work. Window Shell - SendKeys did not work either. We clicked on the web element and tried to set value into the web edit. We don't any of the properties of the Web Edit.

    Steps we followed:
    1. Browser.Page.Frame.WebElement("html id:=myproperty").Click
    2. Here, we need to set value into the Web Edit.

    or simply do this

    When you spy keep the Control key pressed and click on the cell which would give you the WebEdit and then release the control key to activate spy mode.
    Updated 09-27-2013 at 12:57 AM by vinodfg

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:44 PM.

Copyright BetaSoft Inc.