Hi Go to Start-All programs-QTP-Tools-Password Encoder.

One of the QTP future to convert the password to Encrypted value,

then copy those enrypted value in below line of code

 *Applicationmap  "WebEdit","Password","Set","Copy the Encrypted value 
here"*

*Hope it will work.*

On Wednesday, September 3, 2014 11:44:31 PM UTC+5:30, Illuri Ramana wrote:
>
> Hi,This is ramana
> I am Beginner in QTP
>  I Executed the Below Script , System Showing Error Like * The test run 
> cannot continue due to a syntax error.*
>
> *Syntax error*
>
> *Line (1): "Case "Set Secure"".  *
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> * Applicationmap "WebEdit","Email","Set","Ramana" Applicationmap 
>  "WebEdit","Password","Set","Ramana" Applicationmap  "WebButton","Sign 
> in","Click ",""Function Applicationmap( objectType,ObjectName)    Set 
> oBrowser=oBrowser("name:=,*")    Set oPage=oPage("name:=,*")Select Case 
> ObjectTypeCase "WebEdit" Set 
> oWebEdit=Description.Create()oWebEdit("micclass").value="WebEdit"'oWebEdit("Type").value="Text"oWebEdit("name").value="ObjectName"Call
>  
> fnWebEdit(oopage,oWebEdit,Activity,TestData)Case "WebButton"Set 
> oButton=Description.Create()oButton("micclass").value="Button"oButton("html 
> tag").value="Input"oButton("name").value="ObjectName"Call 
> fnWebButton(opage,oButton,Activity,TestData)Case "link"Set 
> olink=Description.Create() 
> olink("micclass").value="link"olink("Type").value="A"olink("name").value="ObjectName"Call
>  
> fnlink(opage,olink,Activity,TestData)Case "Image"Set 
> oImage=Description.Create()oImage("micclass").value="Image"oImage("Type").value="IMG"oImage("name").value="ObjectName"Call
>  
> fnImage(opage,oImage,Activity,TestData)End SelectEnd FunctionFunction 
>  fnWebEdit(owebEdit,Activity,TestData)   Select Case 
> "Activity"opage.WebEdit(oWebEdit).Set Testdata  Case "Set 
> Secure"opage.WebEdit(oWebEdit).Set Secure TestData   Case 
> "Submit"opage.WebEdit(oWebEdit).Submit   Case 
> "Click"opage.WebEdit(oWebEdit).Click   End Select   End FunctionFunction 
> fnWebButton(oBrowser,oWebButton,Activity,TestData)   Select Case "Click"  
>  opage.WebButton(oWebButton).Click     End Select   End FunctionFunction 
> olink(oBrowser,olink,Activity,TestData)   Select Case "Click"  
>  opage.olink(olink).Click     End Select   End FunctionFunction 
> WebEdit(oBrowser,oImage,Activity,TestData)   Select Case "Click"  
>  opage.oImage(oImage).Click     End Select   End Function*
>

-- 
-- 
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 Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to