generic function for webedit box for web application



generic function for webedit box for web application..

Answer / chakrapani

if Browser("name:="abc").Page("title:= xyz").WebEdit
("name:=username").Exist(2) Then
Browser("name:="abc").Page("title:= xyz").WebEdit
("name:=username").Set "Chakri"

End if

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More VB Script Interview Questions

Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function

0 Answers   Microsoft,


hi, How will write a regular expression of date in VB scripting.

1 Answers  


Explain about vb script?

0 Answers  


how to validate the text in a web table

2 Answers   Mphasis,


Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?

2 Answers   HCL,






Which operator is used to perform the comparison among 2 operands in the vbscript language?

0 Answers  


what is the use of QCUtil? explain with one example?

1 Answers  


Is vbscript language a case-sensitive language and what does it mean?

0 Answers  


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)

0 Answers   Quest,


how many types of recording are there?

1 Answers  


What is a class in CSS?

1 Answers  


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

0 Answers  


Categories