Contributions
Re: Put data to Table in KW variable - ReferenceError: Invalid left-hand side in assignment
Same problem is Here..https://community.smartbear.com/t5/TestComplete-Questions/JavaScript-quot-ReferenceError-Invalid-left-hand-side-in/m-p/196706 a i tried this solution but no function for me.. i dont understand with this problem.. it doesn't respond to the table at all. We also tried the $set method but nothing 😞 Please help360Views0likes0CommentsPut data to Table in KW variable - ReferenceError: Invalid left-hand side in assignment
Hello, please help. I need put data from script to table in KW variables . I try it with this.. KeywordTests.Test1.Variables.Var1.Mnoz(0) = QUANTITY; But TestComplete after F5 return this messageReferenceError: Invalid left-hand side in assignment 10:19:27 Normal Error 0,00 0,00 I also try documentation code .. https://support.smartbear.com/testcomplete/docs/testing-with/variables/data-types/table.html#Creating but its same problem .. function TableVarTest() { // Create a table variable if it doesn't exist if(!Project.Variables.VariableExists("MyTable")) Project.Variables.AddVariable("MyTable", "Table"); // Get a reference to the variable var t = Project.Variables.VariableByName("MyTable"); // Add columns to the table t.AddColumn("Name"); t.AddColumn("Age"); t.AddColumn("City"); // Create two rows t.RowCount = 2; // Fill in the table // The first row t.Name(0) = "John Smith"; t.Age(0) = 24; t.City(0) = "Seattle"; // The second row (using the Item property) t.Item("Name", 1) = "Bob Feather"; t.Item("Age", 1) = 59; t.Item("City", 1) = "Milltown"; } Please for advice, how put data to table from script to KW table variable. Thank you426Views0likes6CommentsRe: check disable kezword test in execution plan with script
Sorry, but there is no solution to my question in this documentation. I need to know which test cases are enabled before running the test so I can work with it in the code. According to the enabled test cases I want to import some data, but I can't until I know which ones are enabled. The only thing I can think of so far is to parse the Project.mds file, where the test case is visible do you understand what I need?11 months agoPlace TestComplete QuestionsTestComplete Questions253Views0likes0Commentscheck disable kezword test in execution plan with script
hello, I need to verify which keyword is enabled before running the test script. Can you please advise me if this is possible and how it could be solved. Thank you11 months agoPlace TestComplete QuestionsTestComplete Questions344Views0likes3CommentsRe: Load data from persistent variables to Array
Test running from script. I don't think the sent link solves my problem.. there is only an explanation between the variables.. but I understand that. What I don't understand is why you can't draw data from these variables into an array while the test is running Thank you11 months agoPlace TestComplete QuestionsTestComplete Questions377Views0likes0Comments