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 |
How to specify a browser extension to a web application?
How to attach silk test results to test director?
What is 4test?
how to pass TDS intery in tally?
what are agents in silk?
Define PEER Review ,what it contains & What we discuss in that meeting.
what is the base class for all the classes in silk?
How can we Read the data from data grid in Silk Test?
I have Silk Test 7.5 installed to my machine. My silk recoginizes all the windows applications.But its not recoginizing the web application.When i try to ENABLE EXTENSION for any web application i am not getting the window with the two radio button namely DOM and VO. What could be the problem? I also tried using browsers like IE,FF and also uninstalled the silk n reinstalled it again.But it works out with my neighbours system....Wht could be the problem?????
what is the statment/command for invoke the browser from script
What is multi-tagging?
How to Write user defined functions?