Hi ajayipem,I do not quite understand, can give more information on how to check if I can us this Native method ?
Date: Tue, 4 Oct 2011 17:34:34 +0530 Subject: Re: Please help URGENT , PLS SEE ATTACHED FOR MORE DETAILS From: [email protected] To: [email protected] just check wether u can use use this Native method or not On Mon, Oct 3, 2011 at 1:11 PM, Serene Tan <[email protected]> wrote: it did not work. But what is confusing is that the same lines of code would not throw error when run in another PC. Any setting that I need to take care of ? pls help From: [email protected] Date: Fri, 30 Sep 2011 23:06:16 +0530 Subject: Re: Please help URGENT , PLS SEE ATTACHED FOR MORE DETAILS To: [email protected] replace the red line with this... all_InputElements=Browser("iELS Login Page").object.Document.getelementsbytagname("INPUT") Regards Shalabh Dixit On Fri, Sep 30, 2011 at 6:49 PM, Serene Tan <[email protected]> wrote: Dear all, Please help me out on the code, why QTP is failing ? 'Browser("iELS Login Page").Page("iELS Login Page").WebEdit("ctl00$PlaceHolderMain$txtUserI").Set "s1000679a" 'Browser("iELS Login Page").Page("iELS Login Page").WebButton("Login").Click Browser("iELS Login Page").Page("Mailbox - Inbox").Link("File a Document").Click Browser("iELS Login Page").Page("Step 1").WebEdit("ctl00$PlaceHolderMain$txtCaseN").Set "aas 113/2011" Browser("iELS Login Page").Page("Step 1").WebButton("Retrieve Data").Click Browser("iELS Login Page").Page("Step 1").WebList("ctl00$PlaceHolderMain$Subseque").Select "Practising Certificate" Browser("iELS Login Page").Page("Step 1").WebList("ctl00$PlaceHolderMain$Subseque").Click Dim all_InputElements Set all_InputElements=Browser("iELS Login Page").object.Document.getelementsbytagname("INPUT") Dim single_Element For each single_Element in all_InputElements If ((single_element.type="hidden") and (single_element.name ="ctl00$PlaceHolderMain$SubsequentSupDocumentsNew$hdnSelectedDocumentTitle")) Then single_element.value="PCA" msgbox single_element.value End If Next Browser("title:=.*").Page("title:=.*"). WebList("html id:=ctl00_PlaceHolderMain_SubsequentSupDocumentsNew_lstDocumentTitle").Select "Practising Certificate for Application (General)" cheers Serene Tan -- 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 -- 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
