Try  put a msg box and see like "msgbox len( f_txt)"  to ensure the length.

Always use trim( f_txt). If there is probability of space(" ")  is getting 
added.

On Thursday, December 19, 2013 6:23:58 PM UTC+5:30, Akhalesh Yadav wrote:
>
> Hi Guys,
>                i tried many times to set the values in webedit box using 
> given code.
> Call Input_Text("Last Name","Smith")
>      '--------------------------------------------------------
> Function Input_Text(f_value,f_txt)
>  Set 
>  
> myClientP=browser("name:="&environment("vClientManagementDetailsAdd_Title")).page("title:="&environment("vClientManagementDetailsAdd_Title"))
>  Set myo=description.Create()
>  myo("micclass").value="WebEdit"
>  myo("default value").value=f_value
>   
>    If myClientP.Exist Then
>         myClientP.webedit(myo).Set f_txt
> else
>  msgbox "page does not find"
>   End If
>
> Set myo =nothing
>  Set myClientP=nothing
> end function 
>     '- - - - - - - - - - - - -- - - - - - - - - - -- - -
> it focused at specified webedit feild but does not put the value as 
> "Smith" in that feild and do not show also any error.
>
> Please revert soon, i will appreciate your help!....
>
> Thanks....
> Akhalesh 
> -- 
> Akhalesh yadav
> +919555717928
> +919310680659 
>

-- 
-- 
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/groups/opt_out.

Reply via email to