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 |
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?
How to assign attribute values to test cases?
In how many ways we can perform datadriven test in silk test, throgh flatfiles can we perform?
Can silktest switch browsers automatically?
who is the head of the BMC
What are the problems you faced while identifying an object in silk?
what is DON 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?
why silk test sees each objects as custom windows?
How to do text verification point in silktest for a specific content.Suppose in the text editor, i have typed some "aaaa,bbbb,cccc,dddd" in different lines. now i want to capture only aaaa of first line from the text editor. How can i do it.Can any one help me.
What is Silktest?
What is the dom browser extension?