How can you read the contents of PDF using silktest?

Answers were Sorted based on User's Feedback



How can you read the contents of PDF using silktest?..

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

How can you read the contents of PDF using silktest?..

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

Post New Answer

More Silk Test Interview Questions

what is the statment/command for invoke the browser from script

4 Answers  


What are the problems you faced while identifying an object in silk?

0 Answers  


What are testplan attributes?

0 Answers  


What is stored in a test frame?

0 Answers  


What is 4test?

0 Answers  






What statement in for test is used to transfer control of the script out of the innermost nested for, for each, while switch or selected statement?

1 Answers   IBM,


How to test your defaultbasestate?

0 Answers  


Can we use regular expressions to facilitate dynamic objects identification by SilkTest?

4 Answers  


In "Property" the user-defied property can have two functions only, define that?

1 Answers   IBM,


In for test there are three pass modes for function arguments. They are rarely used since pass mode always default to the most used one. Pls name them and specify which one is a default?

3 Answers   IBM,


How to write the good frame work for application.

1 Answers  


Where are the testplan attributes stored?

0 Answers  


Categories