How can you read the contents of PDF using silktest?
Answers were Sorted based on User's Feedback
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 |
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 |
what .inc file consists in silk?
what is the base class for all the classes in silk?
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?
What are the important aspects of a test case?
How to define an object verification in a test case?
what is silk testing?
What is the wait statement in Silktest?
What is the Real time process for testing please tell in detain 7it is very urgent.
How to test your defaultbasestate?
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
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.
Where is a testplan stored?