can u write one user defined function for webedit class.

Answer Posted / murali raju

Public function edit(name)
Browser("yahoo").Page("yahoo").Webedit("User Id").set name
End function

Call edit("Murali Raju")

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define object spy ?

657


How to integrate the qualitycenter with qtp

1861


What test cases can you automate using QTP?

740


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

1615


before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...

7412






What is the difference between a Function and Action in QTP?

701


How to associate function library at a run time?

801


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1554


What is text check point and text area check point?

695


How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

798


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

2287


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

650


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

1994


What is the diff between image and bitmap check point?

681


diff between qtp versions from 8.5

1646