We looked at the logs shared and we need few more additional information1. Please confirm if your initial requirement to execute test flows with browser option set at TestSet level from CITS CLI is working fine.
Yes
2. Please share the command line syntax used.
pushd %~dp0
rem For App to load lib from
SET APP_CLASSPATH=lib\*;lib\clib\*
java -Xms128m -Xmx1024m -Dfile.encoding=UTF-8 -cp cognizant-intelligent-test-scripter-ide-1.1.jar;%APP_CLASSPATH%; com.cognizant.cognizantits.ide.main.Main -run -project_location "C:\GIT\HTML5_CITS_FRAMEWORK\cognizant-intelligent-test-scripter-1.1\Projects\BETA_LINK" -release "HTML5_RFT" -testset "Functional" -browser "Thomson1"
3. Are you able to execute the testcase from CITS UI Test Design panel & Test Execution Panel with the set browser.
When I execute the tests in Test Design panel, it executed on the selected browser in the Design Panel
When I executed the tests in the Test Execution Panel, it did not executed the selected browser in the Test Execution Panel, INSTEAD it executed the tests based on Design Panel browser.
4. Request you to reproduce the issue again and share the steps and corresponding global settings file & the console logs.
I set Thomson1 as browser, but tests executed in chrome.Execution log from Test Execution Panel
Run Information========================cognizant.intelligent.test.scripter.engine : ${project.version}java.runtime.name : Java(TM) SE Runtime Environmentjava.version : 1.8.0_211java.home : C:\Program Files\Java\jre1.8.0_211os.name : Windows 7os.arch : amd64os.version : 6.1file.encoding : UTF-8========================
Run Started on Mon Jun 17 15:31:37 IST 2019
Loading Browser ProfileLoading RunManager[Scenario:Login] [TestCase: Login] [Description: Login] [Browser: Chrome] [BrowserVersion: Default] [Platform: ANY][ExistingBrowser: false]
[Scenario:Navigation] [TestCase: Navigation_AccountWorkBook] [Description: Navigation_AccountWorkBook] [Browser: Chrome] [BrowserVersion: Default] [Platform: ANY][ExistingBrowser: false][Scenario:AWB_Errors Warnings] [TestCase: AWB_BAL_001_Balances Error Warning Messages] [Description: AWB_BAL_001_Balances Error Warning Messages] [Browser: Chrome] [BrowserVersion: Default] [Platform: ANY][ExistingBrowser: false]----------------------------------------------------------[3] TestCases selected for execution from [//HTML5_RFT/Functional]
----------------------------------------------------------Initializing ReportApiLink not available!!Shutting Down Thread as there is no need for SelectiveThreadingRunning Iteration 1Launching ChromeLaunching Local Driver
Starting ChromeDriver 2.40.565498 (ea082db3280dd6843ebfb08a625e3eb905c4f5ab) on port 43438
Only local connections are allowed.
2019-06-17 15:31:42:06S +0530 [INFO] org.openqa.selenium.remote.ProtocolHandshake createSession:Detected dialect: OSSChrome LaunchedStep:1 | Object: Browser | Action: customLogin | Input: | Conditon: | @17-Jun-2019 15:31:42.042Step:1 | Object: Browser | Action: Open | Input: Login:URL | Conditon: | @17-Jun-2019 15:31:42.042
[DONE] | Opened Url: https://blw-qa.betasys.com/AppPortal/Login.aspx===================================================================================================
Step:2 | Object: Textbox_UserName | Action: Set | Input: Login:UserName | Conditon: | @17-Jun-2019 15:31:45.045Using @name [Login1:UserName], Object 'Textbox_UserName' Found in 64 ms
[DONE] | Entered Text 'cttgs1....@thomsonreuters.com' on 'Textbox_UserName'===================================================================================================
Step:3 | Object: Textbox_Password | Action: setEncrypted | Input: Login:Password | Conditon: | @17-Jun-2019 15:31:45.045Using @name [Login1:Password], Object 'Textbox_Password' Found in 23 ms
[DONE] | Entered Encrypted Text UGFzc3dvcmRAMQ== on Textbox_Password===================================================================================================
Step:4 | Object: Button_Login | Action: Click | Input: | Conditon: | @17-Jun-2019 15:31:45.045Using @name [Login1:LoginButton], Object 'Button_Login' Found in 30 ms
[DONE] | Clicking on Button_Login===================================================================================================
Step:5 | Object: Browser | Action: waitForPageLoaded | Input: | Conditon: | @17-Jun-2019 15:31:48.048
[DONE] | Page load completed in stipulated time===================================================================================================
Step:2 | Object: Browser | Action: AddGlobalVar | Input: @2000 | Conditon: %SlowTimeChrome% | @17-Jun-2019 15:31:48.048
Getting runTimeVar %SlowTimeChrome%[DONE] | Variable %SlowTimeChrome% added with value 2000===================================================================================================---------------------------------------------------Testcase Name : Login:LoginExecuted Steps : 6Passed Steps : 6Failed Steps : 0
Time Taken : 00:00:10-----------------------------------------------------Running Iteration 1Step:1 | Object: Browser | Action: customNavigationWorkBook | Input: | Conditon: | @17-Jun-2019 15:31:48.048Step:1 | Object: Menu_Header | Action: setObjectProperty | Input: Navigation:App Menu Header | Conditon: #HeaderName | @17-Jun-2019 15:31:48.048[DONE] | Setting Object Property for #HeaderName with NON-TRADING for Object [App_Navigation - Menu_Header]===================================================================================================Step:2 | Object: Menu_Header | Action: Click | Input: | Conditon: | @17-Jun-2019 15:31:48.048Using @xpath [//div[text()='NON-TRADING']], Object 'Menu_Header' Found in 24 ms[DONE] | Clicking on Menu_Header===================================================================================================Step:3 | Object: Link_Menu | Action: setObjectProperty | Input: Navigation:App Link Menu | Conditon: #LinkMenu | @17-Jun-2019 15:31:48.048[DONE] | Setting Object Property for #LinkMenu with Account Workbook for Object [App_Navigation - Link_Menu]===================================================================================================Step:4 | Object: Link_Menu | Action: Click | Input: | Conditon: | @17-Jun-2019 15:31:48.048Using @link_text [Account Workbook], Object 'Link_Menu' Found in 23 ms[DONE] | Clicking on Link_Menu===================================================================================================---------------------------------------------------Testcase Name : Navigation:Navigation_AccountWorkBookExecuted Steps : 4Passed Steps : 4
Failed Steps : 0Time Taken : 00:00:07-----------------------------------------------------
Running Iteration 1Step:1 | Object: Textbox_Account | Action: waitForElementToBeClickable | Input: | Conditon: | @17-Jun-2019 15:31:56.056Using @xpath [//input[@formcontrolname='account']], Object 'Textbox_Account' Found in 1255 ms[DONE] | 'Textbox_Account' Element becomes Clickable in stipulated time===================================================================================================Step:2 | Object: Textbox_Account | Action: customSetText | Input: AWB_InputBar:Account | Conditon: | @17-Jun-2019 15:31:57.057Using @xpath [//input[@formcontrolname='account']], Object 'Textbox_Account' Found in 77 ms[DONE] | The text box values is entered as :===================================================================================================Step:3 | Object: Button_Go | Action: waitForElementToBeClickable | Input: | Conditon: | @17-Jun-2019 15:32:00.000Using @xpath [//button[text()='Go']], Object 'Button_Go' Found in 52 ms[DONE] | 'Button_Go' Element becomes Clickable in stipulated time===================================================================================================Step:4 | Object: Button_AccountSelect | Action: customSelectDropdownValue | Input: AWB_InputBar:Account | Conditon: | @17-Jun-2019 15:32:00.000Using @xpath [//*[@id='account']/div[1]/div/div/span/button], Object 'Button_AccountSelect' Found in 56 ms[PASS] | Dropdown value as 3199-9235 [HARKER USE MIXON] is selected.===================================================================================================Step:5 | Object: Dropdown_AccessType | Action: waitForElementToBeClickable | Input: | Conditon: | @17-Jun-2019 15:32:01.001Using @xpath [//input[@formcontrolname='scopeRange']], Object 'Dropdown_AccessType' Found in 66 ms[DONE] | 'Dropdown_AccessType' Element becomes Clickable in stipulated time===================================================================================================Step:6 | Object: Dropdown_AccessType | Action: customSelectDropdownValue | Input: AWB_InputBar:Access Type | Conditon: | @17-Jun-2019 15:32:02.002Using @xpath [//input[@formcontrolname='scopeRange']], Object 'Dropdown_AccessType' Found in 52 ms[PASS] | Dropdown value as Rep is selected.===================================================================================================Step:7 | Object: Button_Go | Action: waitForElementToBeClickable | Input: | Conditon: | @17-Jun-2019 15:32:03.003Using @xpath [//button[text()='Go']], Object 'Button_Go' Found in 50 ms[DONE] | 'Button_Go' Element becomes Clickable in stipulated time===================================================================================================Step:8 | Object: Button_Go | Action: Click | Input: | Conditon: | @17-Jun-2019 15:32:06.006Using @xpath [//button[text()='Go']], Object 'Button_Go' Found in 44 ms[DONE] | Clicking on Button_Go===================================================================================================Step:9 | Object: Button_Go | Action: waitForElementToBeClickable | Input: | Conditon: | @17-Jun-2019 15:32:06.006Using @xpath [//button[text()='Go']], Object 'Button_Go' Found in 69 ms[DONE] | 'Button_Go' Element becomes Clickable in stipulated time===================================================================================================Step:10 | Object: Browser | Action: AddVar | Input: AWB_InputBar:Account | Conditon: %lavelCheck% | @17-Jun-2019 15:32:08.008Adding to runTimeVars %lavelCheck%:3199-9235Getting runTimeVar %lavelCheck%[DONE] | Variable %lavelCheck% added with value 3199-9235===================================================================================================Step:11 | Object: Label_Customer's Account Number | Action: customAccountNumValidate | Input: %lavelCheck% | Conditon: | @17-Jun-2019 15:32:08.008%lavelCheck% changed to 3199-9235Using @xpath [//div[@class='wcl-layout-main']//awb-account-information-static], Object 'Label_Customer's Account Number' Found in 56 msGetting runTimeVar %lavelCheck%[PASS] | Label 3199-9235 is found.===================================================================================================Step:2 | Object: Browser | Action: customNavigatToTabAndSubTab | Input: AWB_Errors_Warnigs:Tab And SubTab | Conditon: | @17-Jun-2019 15:32:08.008[PASS] | The navigationLink Balances is clicked===================================================================================================Step:3 | Object: Browser | Action: customVerifyErrWarnInfoMsg | Input: @AWB_Errors_Warnigs | Conditon: | @17-Jun-2019 15:32:11.011[PASS] | Cash Management Account Balances No Data Available is displayed under Additional InformationSection .===================================================================================================[FAIL] | Trading Dollars Balances INSUFFICIENT TRADING DOLLARS AVAILABLE is not displayed under WarningsSection.===================================================================================================[FAIL] | Trading Dollars Balances PREM TDOL IS NOT TURNED ON is not displayed under WarningsSection.===================================================================================================---------------------------------------------------Testcase Name : AWB_Errors Warnings:AWB_BAL_001_Balances Error Warning MessagesExecuted Steps : 15Passed Steps : 13Failed Steps : 2Time Taken : 00:00:20-----------------------------------------------------Run Finished on Mon Jun 17 15:32:16 IST 2019-----------------------------------------------------ExecutionDate : 17-Jun-2019 15-31-37Executed TestCases : 3Passed TestCases : 2Failed TestCases : 1Time Taken : 00:00:38ReportPath : file:///C:\GIT\HTML5_CITS_FRAMEWORK\cognizant-intelligent-test-scripter-1.1\Projects\BETA_LINK\Results\TestExecution\HTML5_RFT\Functional\17-Jun-2019 15-31-37\summary.html
[DONE] | Entered Text 'cttgs1.qabt1551@thomsonreuters.com' on 'Textbox_UserName'