How can you read the contents of PDF using silktest?
Answer Posted / 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 |
Post New Answer View All Answers
What are the important aspects of a test case?
How to select a group of test cases in a testplan to run?
What is 4test?
Where is a testplan stored?
What is the dom browser extension?
What is silktest project?
can any one please tell me the full form of .g.t in silktest datadriven method
In SilkTest we have a function Except Log which displays the path of the error occured in a Script.In QTP do we have any function like that?
can we test the application by inserting checkpoints using silktest as we do in qtp and winrunner and also what are the automation frameworks in silktest
What is the segue testing methodology?
What is multi-tagging?
How to run all test cases in a testplan?
What are testplan attributes?
Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website
Can silktest switch browsers automatically?