ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  Silk Test
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How to do text verification point in silktest for a 
specific content.Suppose in the text editor, i have typed 
some "aaaa,bbbb,cccc,dddd" in different lines. now i want 
to capture only aaaa of first line from the text editor. 
How can i do it.Can any one help me. 
 Question Submitted By :: Sreeman
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to do text verification point in silktest for a specific content.Suppose in the text editor, i have typed some "aaaa,bbbb,cccc,dddd" in different lines. now i want to capture only aaaa of first line from the text editor. How can i do it.Can any one help me.
Answer
# 1
use this sample code ..

pass the string as parameter in Check_PDF method.
Parameter whichever string you want to
retrive/display/verification.
 
Check_Pdf("aaaa")

[-] Check_PDF(LIST OF STRING lspdfcheckpoint)
	[ ] WaitForControl(Gold_Orders.ViewOrderForm)
	[ ] // main window - Gold_orders
	[ ] // OrderForm - Pdf form 
	[ ] Gold_Orders.ViewOrderForm.Click()
	[ ] 
	[-] if (OrderForm.Exists())
		[ ] WaitForControl(OrderForm)
		[ ] 
		[ ] STRING Items
		[ ]
		[ ] Clipboard.SetText({""})
		[ ] OrderForm.TypeKeys("<Ctrl-a><Ctrl-Insert>")
		[ ] LIST OF STRING OrderForm_Order = Clipboard.GetText()
		[ ] STRING Line
		[ ] BOOLEAN Found = FALSE
		[-] for each Line in OrderForm_Order
			[-] for each Items in lspdfcheckpoint
				[ ] 
				[-] if MatchStr("*" +Items + "*", Line)
					[ ] Found = TRUE 
					[-] if (Found)
						[ ] Print ("PASS:" +Items + "Item found on the OrderForm")
						[ ] Print("String Verification : "+Items)
					[-] else
						[ ] LogError ("FAIL:" +Items + "Item not found on the
OrderForm")
					[ ] //Close SRF
	[ ] OrderForm.TypeKeys("<Alt-F4>")
 
Is This Answer Correct ?    2 Yes 0 No
Samar
 

 
 
 
Other Silk Test Interview Questions
 
  Question Asked @ Answers
 
What is the perpose of user-defined base state method? TCS2
can you test an application in silk test that is running on another system? Infosys2
What is custom object .what it contains. Difference between custom & standard objects.  3
what .inc file consists in silk?  3
Define PEER Review ,what it contains & What we discuss in that meeting.  2
Can u Tell me why we use Advanced tool like Silk Test other than QTP, Or WIN RUNNER And others what is the advantage of these compared o others Wipro3
what is the statment/command for invoke the browser from script  4
How to Write user defined functions?  2
How do you identify an exception is silk? IBM4
What is the advantage of using do except instead of other error logging functions? IBM2
How to do text verification point in silktest for a specific content.Suppose in the text editor, i have typed some "aaaa,bbbb,cccc,dddd" in different lines. now i want to capture only aaaa of first line from the text editor. How can i do it.Can any one help me.  1
what is the use of exception handling in Silk Test and how to use the commands?  4
What is Silktest?  4
How to attach silk test results to test director?  3
How can i used If Else statement in Silk Test. And my table name is login how can i get rowcount in the table having  1
What is the Real time process for testing please tell in detain 7it is very urgent.  2
what type of frameworks are you using in silk test? Stag-Computers3
Imagine you have a string variable that holder a credit card (16digit). There are multiple ways of obtaining last four digits of this number programmatically on a run time. Name one; for practical purpose variables name is sCCnumber? IBM5
In how many ways we can perform datadriven test in silk test, throgh flatfiles can we perform?  3
Why should we use Silk test .we can use QTP or other tool .What is the difference.  3
 
For more Silk Test Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com