guys thanks for reply I tried all the codes but they seems to work only in case the frame is not empty
in case the frame is empty error is thrown that web element is not there. Regards Arya On Fri, Oct 21, 2011 at 10:46 AM, avinash vl <[email protected]> wrote: > Try this > > set a = ("Browser").Page("Page").Frame("Frame").WebElement("WebElement") > a.Object.innertext = "text here" > > > > > On Fri, Oct 21, 2011 at 9:12 AM, Mr. Joy Vaz <[email protected]> wrote: > >> Hello, >> Following code may help you, >> >> set >> oTinyMce=Browser("Browser").Page("Page").Frame("Frame").WebElement("WebElement") >> oTinyMce.Click >> >> 'Create device replay object >> Set oDR = CreateObject("Mercury.DeviceReplay") >> >> 'Send some text >> oDR.SendString "This is a test text" >> >> >> >> On Wed, Oct 19, 2011 at 5:27 AM, raghu busireddy < >> [email protected]> wrote: >> >>> Hi Arya, >>> >>> Don't consider Frame object.while adding objects TO OR leave the frame >>> object and Web edit to page object. >>> >>> browser().page().webedit().set "" >>> >>> >>> Reply >>> >>> Thanks >>> raghu >>> >>> >>> On Tue, Oct 18, 2011 at 9:13 PM, Arya Gaurav >>> <[email protected]>wrote: >>> >>>> Hi All >>>> >>>> There is a text box field in mine application which is identified as >>>> >>>> Browser("Shop Configurator").Page("Shop Configurator").Frame("Frame") >>>> >>>> Now as there is not object inside it like webedit so QTP is not able to >>>> write anything into it >>>> >>>> Can somebody please help with this >>>> >>>> Thanks >>>> Arya >>>> >>>> -- >>>> *tough time never last tough people do >>>> * >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> "QTP - HP Quick Test Professional - Automated Software Testing" >>>> group. >>>> To post to this group, send email to [email protected] >>>> To unsubscribe from this group, send email to >>>> [email protected] >>>> For more options, visit this group at >>>> http://groups.google.com/group/MercuryQTP?hl=en >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> "QTP - HP Quick Test Professional - Automated Software Testing" >>> group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/MercuryQTP?hl=en >>> >> >> >> >> -- >> Cheers...!!!!! >> >> Joy >> >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> > > > > -- > Regards, > Avinash > > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- *tough time never last tough people do * -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
