sachin: The problem is the square brackets. In regexp, they have a special meaning. You need to put a backslash in front of them to make them to be interpreted as literal.
"name:=param\[homevalue\]" I have played with this url in the past and it took me a while to figure out the problem. hth, Parke On Sat, Sep 8, 2012 at 4:04 AM, sachin mahajan <[email protected]> wrote: > No able to recongnize object with the below code > > Browser("name:=Mortgage Calculator").Page("title:=Mortgage > Calculator").WebEdit("html tag:=INPUT","name:=param[homevalue]").Set > "3000" > > > Cannot identify the object "[ WebEdit ]" (of class WebEdit). Verify > that this object's properties match an object currently displayed in > your application. > > Pla help.. > > On 9/7/12, jay rawat <[email protected]> wrote: > > Yes if its laid up on webtable fetch it from webtable and it will be more > > accurate then..... > > > > On Fri, Sep 7, 2012 at 3:24 PM, shashi qa <[email protected]> wrote: > > > >> HI , > >> I think this will work for you.... > >> add the webtable "Mortgage Repayment Summary" to OR > >> > >> > >> set first = browser("Welcome: Mercury Tours").Page("Mortgage > >> Calculator").WebTable("Home Value:").WebTable("Mortgage Repayment > >> Summary").GetCellData(3,1) > >> > >> msgbox first > >> > >> > >> > >> > >> Regards > >> > >> Shashidhar > >> +91 -8125564879 > >> [email protected] > >> > >> > >> On Thu, Sep 6, 2012 at 5:42 PM, Deepak Kumar Mahapatro < > >> [email protected]> wrote: > >> > >>> Hi Amit, > >>> You can use the parent webtable o access the webelement. > >>> Try below code > >>> Set coDesc=Browser("Mortgage Calculator").Page("Mortgage > >>> Calculator").WebTable("column names:=Mortgage Repayment Summary") > >>> print coDesc.GetCellData(3,1) > >>> > >>> Here Browser and Page is added to my OR. modify it as per your > >>> programming. > >>> > >>> Thanks, > >>> Deepak > >>> > >>> -- > >>> Regards, > >>> Deepak > >>> > >>> -- > >>> 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 > >> > > > > -- > > 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 > -- Parke Cell: 770-842-0121 -- 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
