f04959c

New Member
HI All,

I'm new on Blue Prism and I'm encountering some issue to click a button on OBIEE Dashboard.

I have tried both solution Select by Region and Global Send Keys but doesn't work.

When I use one of this solutions seems like that the button works with the previus paramiters and not with the new ones.

Before to cry I would try one last new solutions using C# Code.

I have to use IE 11 Browser, so I cannot use VB Code and i never used before C#.

Someone can help me to do this?
 

VJR

Well-Known Member
Hi f04959c,

-Can you elaborate more on "the button works with the previus paramiters and not with the new ones."
-Also provide more details on what parameters were passed for Select by Region and Global Send Keys?
-Are any of the other modes not working on the application?
 

f04959c

New Member
Hi VJR,

First of all thanks for your answre, here below i try to explain you better my issue.

The Dashboard has some fields that have to be fill with some default parameter that I change with my robot.

During the process all fields are correctly changed, but when the process moves on the "Click Botton" element, seems like the page make a rollback with the defoult parametres.

So to be secure I have run the Dashboard manualy with other new parameters and then I have run the robot. What happened was very strange because the click has run but with the fields tha i have change manualy. So this is the reason why I have wrote that "the button works with the previus paramiters and not with the new ones."
 

f04959c

New Member
Hi All,

Looking on google I was able to make this C# code that open google web form on IE Browser, put something in search bar and click on search button (here below the code).

However, I found some issue to traslate this code in Blue Prism.

First of all, in order to move between IE objects i need to use the Selenium library and i don't how to import this library on Blue Prism.
Furthermore, this library needs a specific dll to work and I don't know how to include in the Blue Prism project.

Could you please help me to fix this issue?


using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Interactions;


namespace PrimoTest
{
class Program
{
static void Main(string[] args)
{
IWebDriver driver = new InternetExplorerDriver("C:\\Users\\f04959c\\Documents");
driver.Navigate().GoToUrl("http://www.Google.com/");
IWebElement element = driver.FindElement(By.Name("q"));
element.SendKeys("Pippo");
Actions act = new Actions(driver);
act.MoveToElement(driver.FindElement(By.Name("btnK"))).Perform();
driver.FindElement(By.Name("btnK")).Click();

}
}
}
 

VJR

Well-Known Member
Hi VJR,

First of all thanks for your answre, here below i try to explain you better my issue.

The Dashboard has some fields that have to be fill with some default parameter that I change with my robot.

During the process all fields are correctly changed, but when the process moves on the "Click Botton" element, seems like the page make a rollback with the defoult parametres.

So to be secure I have run the Dashboard manualy with other new parameters and then I have run the robot. What happened was very strange because the click has run but with the fields tha i have change manualy. So this is the reason why I have wrote that "the button works with the previus paramiters and not with the new ones."
okay, I've read your description on my first query. Can you provide full details on the other two. Might be there is an alternative prior to going with the Code stage.
 

f04959c

New Member
Hi VJ,



-Also provide more details on what parameters were passed for Select by Region and Global Send Keys?


- Select by Region

About the Region I don't know how explain you what I have made, so i copy here below two screen, hoping that all be clear

View attachment Cattura2.JPG

- Global Send Keys


Once I fill the data, I need to move first between a box to button, and then between two different button as you can see in the attach below.

View attachment Cattura.JPG

So, copying what I do with the keyboard to move from entity box to select button I have wrote the following key.

"{TAB}<{TAB}<{ENTER}"



- Are any of the other modes not working on the application?


At this moment I cannot answer to this question. I have find some issue, but I have fix it with some workaround.

So I cannot be secure that will not be appear other issue related to OBIEE.

I would to explain that I have tested all this solutions on a normal web site and all works correctly. Once i move on OBIEE Dashboard doesn't work anymore. So I don't know if the issue is related to model or to OBIEE Security
 

VJR

Well-Known Member
Once I fill the data, I need to move first between a box to button, and then between two different button as you can see in the attach below.

View attachment Cattura.JPG

So, copying what I do with the keyboard to move from entity box to select button I have wrote the following key.

"{TAB}<{TAB}<{ENTER}"
Also check with three separate entries
-TAB
-TAB
-ENTER
with appropriate wait stages to give the necessary focus.
 

f04959c

New Member
Hi VJ,

Thanks for your help.

From what I understand seems like in OBIEE the Write Object doesn't work.
Indeed, the Write Object, had altered the value on the web form, but did not change the query behind. This is the reson why every times I ran the robot, it worked with the defoult parameters.

Also I had to modify the IE security option by removing the flag on "Enable protect activity"

In this way I was able to run correctly my Blue Prism Robot.

Thanks
Ale
 
Top