Contributions
Re: Set up examples from external files
Hi, Any solution yet? or you still waiting/working. I'm searching for solution like this as well. I want to know If I can get any object for Examples (table). Plus I want to execute my scenario(s) for specific row, not for all at a time but single one at time. Thanks,665Views0likes0Comments- 5.2KViews0likes0Comments
- 5.2KViews0likes0Comments
- 16KViews0likes0Comments
Re: Run a unit method to get the properties of Objects defined in that Unit
Hi, Thank you Tristaanogre. For the second option i.e. defining properties for Runtime Object it could be done But I'm not intrested in doing this way because I have to define alot of properties and maintenace of Objects and properties is difficult. I'm intrested in doing it method for First option from your reply, I'm currently using my objectwrapper in this way butit is not working for me. See the attached snapshot and it will be great if it could be done. Thanks,2.4KViews0likes2CommentsRun a unit method to get the properties of Objects defined in that Unit
I have some wrapper function/Method for Name Mapping objects, like ------------ unit1 Public mainwindow, textField,pasField Sub init_Objects Set mainwindow = Aliases.App.Window Set textField = mainwindow.textUsernameField SetpasField= mainwindow.textUserPasswordField End Sub ---------------------------------------------------------------------------------- I'm not able to get all the properties and methods when I write scripts in code completion. e.g. Unit1.mainwindow.___ ''' ----------- Properties and methods are not shown in the code completion. OR Call Unit1.mainwindow.___ ''' ----------- Properties and methods are not shown in the code completion. I think issue is that assignments will be made at run time (test execution). So how can I get the properties of object at design time (writing script). - I've tried to create Script Extension but not able to get this functionality. my script ext. code is like: Sub InitObject Runner.CallMethod ("unit1.init_Objects") End Sub In description.xml I 've mentioned it under runTimeObject node <Script Name = "xyz.vbs" InitRoutine="Initialize"> <RuntimeObject Name = "xyz"> <Method Name="InitObject" Routine="InitObject"> </Method> </RuntimeObject> I'm new to Script extensions so kindly guide if I'm doing something wrong and how can this issue be resolved. Thanks,2.4KViews0likes4CommentsCode Completion does not Show variables defined in another Unit/Script
Hi, TC code completion does not show Variable/objects defined in another unit. example: --------------------------------------------- Unit1 Set App= Aliases.AppName Set MainScreen = App.Window_App -------------------------------------------------------------------- 'USEUNIT Unit1 Unit2 Call Unit1. '------ Press CTRL+Space will not show the variables in Unit1. ---------- Could anyone help in this regard ? I'm using VBScript. Thanks,Solved1KViews0likes1Comment