Contributions
How to recover deleted test scripts.
Hi, Could someone please advise on how can i retrieve deleted test scripts. These test scripts are deleted from disk not removed (so they are not in the scripts folder). Is there a way i can retrieve them back?. There is a suggestion in Backups?. Where this backup is located?. Many Thanks, A.M.449Views0likes3CommentsUse of project persistent variables as common variable across multiple test scripts.
Hi, Could someone assist with my following question, i need to use project persistent variable so that it can be used across multiple test scripts' execution. 1. The variable is a container or controler which i will need to use "findChild" function to access other objects. 2. Then, in the actual script, i will write something like. var Crl = project.variables.Controler; var button1 = Crl.findChild ("Text", "Basket", 1000); //in this case, the "findChild" function is not responding or couldn't be used to find button1 ? The reason of having the "Controler" defined in the project variables is that because it keeps changing across all of the test scripts - and thought is better to have it defined in one place as project persistent or global variable. Can this be done? Many Thanks, A.M.Solved339Views0likes1CommentRe: Passing of ImageRepository name or item from excel
Hi Marsha, Please note i'm referring to the imageset.item of an image name that has already been saved in the image repository as (PaymentButton.Payment) where: Imageset is: PaymentButton Item is: Payment. The piece of code to execute is. Var Button =Imagerepository.imageset.item; Button.Click; I need to parametrize imageset and item so that it can be used on any image saved in the imagerepository. I tried to pass both imageset and item from excel but it doesn't seem to work. Please provide me with an example on how this can be done. Thanks. AM.813Views0likes2CommentsRe: Unable to use wild card (*) in Mapped Name.
Hi Matt, Below is the MappedName: Aliases.browser.pageCustomert8.buttonCancelled The dynamic value that keeps changing ispageCustomert8 . If i use * like below in JavaScript editor. Aliases.browser.pageCustomert*.buttonCancelled, I'm getting Unexpected Token * error like below. or like In previous releases of TestComplete (e.g. 12), i was able to do this but not when using TestComplete 14.18. Do i need to declare the use of * somewhere in TestComplete?. Or any suggestion?. Many Thanks, Az.1.3KViews0likes2CommentsRe: How can i shorten long object name (using TC 14).
Hi Marsha, The part that keeps changing is highlighted in blue: Sys.Browser("chrome").Page("https://uat.testenviroment-test.com/customers/").Panel("portal").Panel(0).Panel(0).Panel(0).Panel(2).Panel(1).Panel(0).Panel(0).Panel(0).Panel(1).Panel(0).Panel(1).Panel(0).Panel(0).Button(0) Please provide with illustrative example in here. I would like to achieve 2 things if possible: 1. To shorten this object id. 2. To use a wild card on the these panels as they keep changing. Many Thanks, Az.774Views0likes3Comments