How do you capture inputs from a text editor using SilkTest when automating a system?

Questions by lostInAutomation

Showing Answers 1 - 3 of 3 Answers

I am not sure what exactly you want. But if you are using textfield class use
textfield.Getcontents()?method which will capture the textfield data

  Was this answer useful?  Yes

Lakshmi Reddy

  • Nov 20th, 2007
 

Hi , If u want to insert a value into the text field then u can use "Settext " keyword  , if u want to capture the value from textfield then u can use "gettext" keyword.

Eg: CustomerName.settext(name)  //name is variable
Eg:CustomerName.gettext(name)  //name is variable

With respect situation we can use .

test12geeta

  • Apr 27th, 2009
 

For capturing the text from the application we will use GetText()
eg: Custname = Customername .GetText()
Once the above statement executes, the variable Custname will hold the customer name.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions