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 |
Can silktest switch browsers automatically?
what type of frameworks are you using in silk test?
What are the reasons behind silk test hanging? Is any particular problem or it is just because of system problem.?
Any tools to test the performance of SQL Quarries and SP? If any one are using them please provide the site names or software names...
how to pass TDS intery in tally?
what is the use of exception handling in Silk Test and how to use the commands?
What is 4test?
can any one please tell me the full form of .g.t in silktest datadriven method
What is the syntax of ui object identifier used by dom extension?
How do you create a user defined class in silk?
How to add objects of other pages to a test frame?
what is the operator for carriage return(Enter) in Silk Test for File.