| Summary: | Facing blocking error in the Luna version 2 (4.4.2) when automating selenium code for select item from drop down menu. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Sahida Sultana <ssultana> | ||||
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, jarthana, markus.kell.r, stephan.herrmann | ||||
| Version: | 4.4.2 | ||||||
| Target Milestone: | 4.6 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
To figure out whether this is a bug in JDT we'd need more information, like: - what are the error messages associated to the markers in the editor? - what is class "Select"? - is it properly imported? - what's the signature of the constructor? - what's the signature of method SelectByVisibleText? Probably a setup problem, not a compiler bug. Reducing severity. Now We are not working on Selenium Eclipse.so, Closed the Defect. but if we face any issue in future then we will Reopen the defect. Adjusting bug resolution since nothing has been fixed in JDT (and hence nothing can be verified). I am doing Some RND in Selenium Eclipse Automation Project.but still facing Same issue.so, Reopen the ticket. (In reply to Sahida Sultana from comment #5) > I am doing Some RND in Selenium Eclipse Automation Project.but still facing > Same issue.so, Reopen the ticket. It would help if you bother to answer Stephan's questions from comment #1. There's nothing we can do to fix this until you can provide us more information. Now it's working fine.so, closing the defect. Changing resolution to document that nothing has been changed in JDT. (In reply to Stephan Herrmann from comment #8) > Changing resolution to document that nothing has been changed in JDT. again! Please stop interfering with our house keeping. |
Created attachment 259482 [details] I have attached screenshot where displaying error (Marked as red) in the automated selenium code for select item. Good Afternoon, I am facing blocking issue in the Eclipse when automating Selenium scripts and Version: Luna Service Release 2 (4.4.2).Step is given Step 1:Created Xav Internal Project Folder. Step 2: Created pageObject Package under src folder. Step 3: Created Class for Process_Enhancement Step 4: Automated one function (given below) //Selection of Year public static void Sel_Year(int rowNum)throws Exception{ try{ int colyear=ExcelUtils.getColumnContains("Year"); String Year=ExcelUtils.getCellData(rowNum, colyear); Select sel=new Select(driver.findElement(By.id("ddlYearPending"))); //Marked as red cross in eclipse Log.info("Year drop down box found in the Encashment Approval Page"); sel.SelectByVisibleText(Year); ////Marked as red cross in eclipse }catch (Exception e){ Log.error("Year drop down box is not found in the Encashment Approval Page"); ExcelUtils.MsgFailure_setCellData("Fail", "Year Drop down Box Should found in the Encashment Approval Page", "Year drop down box is not found in the Encashment Approval page", rowNum); Assert.fail("Year drop Down box not found"); throw(e); } } Step 5: Above code which is given in Step4 that is correct but displaying error in the Eclipse(marked as Red). Expected Result: Any Error message should not display for Step 4 code. Actual Result:Error Message displaying for Step 4 code.