GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  SilkTest
Go To First  |  Previous Question  |  Next Question 
 SilkTest  |  Question 8 of 24    Print  
How do you capture inputs from a text editor using SilkTest when automating a system?

  
Total Answers and Comments: 3 Last Update: April 27, 2009     Asked by: lostInAutomation 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Lakshmi Reddy
 
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 .

Above answer was rated as good by the following members:
test12geeta
September 19, 2007 04:05:55   #1  
hari_testing Member Since: September 2007   Contribution: 5    

RE: How do you capture inputs from a text editor using...
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

 
Is this answer useful? Yes | No
November 20, 2007 05:43:06   #2  
Lakshmi Reddy        

RE: How do you capture inputs from a text editor using...
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 .

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
April 27, 2009 05:49:54   #3  
test12geeta Member Since: April 2009   Contribution: 3    

RE: How do you capture inputs from a text editor using SilkTest when automating a system?
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.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape