How can you read the contents of PDF using silktest?

Answers were Sorted based on User's Feedback



How can you read the contents of PDF using silktest?..

Answer / guest

Use this method to parse - notepad and Pdf.

[-] Check_PDF(LIST OF STRING lspdfcheckpoint)
[ ] WaitForControl(Gold_Orders.ViewOrderForm)
[ ] // main window - Gold_orders
[ ] // ViewOrderForm - 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")
[-] else
[ ] LogError ("FAIL:" +Items + "Item not found on the
OrderForm")
[ ] // 31. Close SRF
[ ] OrderForm.TypeKeys("<Alt-F4>")

Is This Answer Correct ?    5 Yes 2 No

How can you read the contents of PDF using silktest?..

Answer / rockgora

I think, you should use additional application (Adobe
Reader 7.0 )and than from this application you can take
information about pdf file

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More Silk Test Interview Questions

what .inc file consists in silk?

3 Answers  


what is the base class for all the classes in silk?

1 Answers   GE,


I'm involved in automation using silk test of an swing application running in a browser. There is a window whose name is a dynamic. i.e based on the input(eg: some filename) the window name keeps on changing. I need to capture the window name for every run of silk test case for different input filenames. I'm aware of GetName() in SilkTest, but its not working for me. Can anybody suggest me any logic to achieve this using silktest?

3 Answers  


What are the important aspects of a test case?

0 Answers  


How to define an object verification in a test case?

0 Answers  






what is silk testing?

1 Answers  


What is the wait statement in Silktest?

4 Answers   CTS, IBM,


What is the Real time process for testing please tell in detain 7it is very urgent.

2 Answers  


How to test your defaultbasestate?

0 Answers  


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 Answers  


hai iam not working.iam try to job.on practice i have dout .HOW TO TEST THE CALCULATOR BY USING DATA DRIVEN.PLS REPLY WITH CODE.I HAVE NO IDEA ON DATA DRIVEN.

2 Answers   Aricent, Cincom,


Where is a testplan stored?

0 Answers  


Categories