Contributions
Calling java class from script
This line of code used to work before but i guess after upgrading to tc 9 something broke var respVal = new String(JavaClasses.com_sp_utils_string.NVP.getValueSTATIC(ResponseStr,"&",ResponseNames)); I have added jvm module i have added my jar file in project properties I'm not sure what i need to do with the java classes portion in project properties Please help21KViews0likes1CommentRe: Sending emails with outlook
Hi, got itto work. All i needed to do was change to the correct folder on my outlook From this ContactFldr = NS.Folders("Public Folders").Folders("Contacts"); // Original code To This ContactFldr = NS.Folders("Mailbox - Kenneth Rock").Folders("Contacts"); // Working code2.5KViews0likes0CommentsSending emails with outlook
I am having trouble getting the sample code provided for outlook.js to work. I keep getting the exception "unable to initialize outlook" . I have office 2007 installed and as soon as i run the script outlook seems to be loading on the task bar but execution stops. Does anyone have the samplescript working for them ? Thanks20KViews0likes7CommentsSending emails wih outlook
I am having trouble getting the sample code provided for outlook.js to work. I keep getting the exception (Whis is logged as a warning in the code) "unable to initialize outlook". I have office 2007 installed and as soon as i run the script outlook seems to be loading on the task bar but execution stops. Does anyone have this script working for them ? Thanks13KViews0likes1CommentRe: Write values to specific cells in excel,
I plan to use these values tocheck against what's inserted in the DB for that row in excel. for instance: i have3 columns in excelnamed Amount,cardNumber,orderId ** Orderid column is blank since its generatedby the app under test the DB tablehas the same columns as in Excelthis time the orderId is inserted by the APP under test my goal was to insert the generated orderId and laterusethe OrderId field in a select statement to test if Amount and cardNumber from excel matches same fields in the Db table1KViews0likes0CommentsWrite values to specific cells in excel,
I am getting test data from an excel file (looping through project variables) and wish to write the result for a particular test into a specific column on the same row(in the same excel file)is it possible to do this while looping through the project variables ? //sample code to use for your explanation Project ["Variables"][txType].Reset(); for(; ! Project["Variables"][txType].IsEOF();) { //write or update some excel field for the current row beingread Project ["Variables"][txType].Next(); } any suggestions are welcome Thanks15KViews0likes4Comments- 1.2KViews0likes0Comments