Checkbox with Kantu not clicked in some moment/days

Hi

In recent days I have reported a problem but no one has replied, in some moments Kantu does not click checkboxes.

I have not found a program to record video but today I made screenshots where the macro is running but the checkboxes are not clicked.

I tried with Katalon and this defect does not occur, I would like to know this problem that I know with kantu for firefox from what it can depend on.

Look at the photos where you see the browser at work but the checkboxes are only colored in green but not clicked.

This strange problem does not always occur but randomly, it happened to me at least 50 times, what can it depend on?

With Katalon this problem is not known.

I tried to reinstall kantu and the problem remains.

Use FIrefox 66.0.3 Kantu 4.2.6. WIndows 7 and Xmodule Installed

Log

[status]

Playing macro _Checkbox

[info]

Executing:  | bringBrowserToForeground |  |  | 

[info]

Executing:  | open | https://www.computerhope.com/jargon/c/checkbox.htm |  | 

[info]

Executing:  | waitForPageToLoad | 20000 |  | 

[info]

Executing:  | pause | 20000 |  | 

[info]

Executing:  | type | id=Example-1 | on | 

[info]

Executing:  | click | id=Example-1 |  | 

[info]

Executing:  | type | id=Example-2 | on | 

[info]

Executing:  | click | id=Example-2 |  | 

[info]

Executing:  | type | id=Example-3 | on | 

[info]

Executing:  | click | id=Example-3 |  | 

[info]

Executing:  | type | id=Example-4 | on | 

[info]

Executing:  | click | id=Example-4 |  | 

[info]

Executing:  | type | id=Example-5 | on | 

[info]

Executing:  | click | id=Example-5 |  | 

[info]

Executing:  | type | id=Example-6 | on | 

[info]

Executing:  | type | id=Example-7 | on | 

[info]

Executing:  | type | id=Example-8 | on | 

[info]

Executing:  | click | id=Example-6 |  | 

[info]

Executing:  | click | id=Example-7 |  | 

[info]

Executing:  | click | id=Example-8 |  | 

[info]

Macro completed (Runtime 40.60s)

Macro Code

{
“Name”: “_Checkbox”,
“CreationDate”: “2019-4-26”,
“Commands”: [
{
“Command”: “bringBrowserToForeground”,
“Target”: “”,
“Value”: “”
},
{
“Command”: “open”,
“Target”: “What is a Check Box?”,
“Value”: “”
},
{
“Command”: “waitForPageToLoad”,
“Target”: “20000”,
“Value”: “”
},
{
“Command”: “pause”,
“Target”: “20000”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=Example-1”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “id=Example-1”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=Example-2”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “id=Example-2”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=Example-3”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “id=Example-3”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=Example-4”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “id=Example-4”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=Example-5”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “id=Example-5”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=Example-6”,
“Value”: “on”
},
{
“Command”: “type”,
“Target”: “id=Example-7”,
“Value”: “on”
},
{
“Command”: “type”,
“Target”: “id=Example-8”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “id=Example-6”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “id=Example-7”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “id=Example-8”,
“Value”: “”
}
]
}

Does this happen always or “only” sometimes?

Hi @ulrich

The problem appear random, sometimes when i open firefox, run a macro there is this problem, after i close firefox and reopen firefox, run the same macro with the same code and working, sometimer i need to close firefox 3-4 times.

I think there is a firefox setting that block kantu but i do not know what could it be.

It is a strange problem because it does not always occur, when it occurs I have to close the firefox browser and reopen it and try again, in some cases after 2-3 times I close and reopen firefox the problem is solved but afterwards it can return.

I technically ask for the click of a checkbox as it works because I think it can be influenced by some firefox settings or extensions.

With Katalon I have not noticed this problem but it is installed in the same browser with the same settings as you can see from the images.

When this problem occurs all the checkboxes in all the sites are colored in green but are not clicked, the kantu log tells me that everything is normal, the only way to solve it is to close firefox several times and reopen it.

Instead the other fields continue to function normally only the checkboxes no longer work when this problem occurs.

Thanks for the tips.

@admin @TechSupport

This problem is the same reporter here

I added picture to show that it is true, I added both the photos and the log and the macro code to show the problem clearly.

Hi

Today the same bug of kantu, i tried with Katalon and do not have this bug.

It’s a bug of Kantu, I run the same macro posted in this post and do not click the checkbox, after i run katalon and click all checkbox.

Admin can you fix this problem please ?

Try katalon have not this bug that have kantu.

Katalon result more stable and working like automation software.

Now another bug of Kantu, without reason show the “Error #101: Kantu is not connected to a browser tab”

Kantu should be improved has too many bugs compared to other similar software,

I used imacros for 10 years and there were not all these problems, it was very stable, it worked very well, you have to improve Kantu has many bugs even than Katalon which is much more stable, try to optimize and better program Kantu

Thanks

I noticed your macro has many TYPE commands. I guess they are left over from recording. But they are not needed to click the checkboxes. Maybe they cause the problem? Here is a shorter macro. I did 20 loops with it, and all works fine:

{
  "Name": "click-checkboxes",
  "CreationDate": "2019-4-27",
  "Commands": [
    {
      "Command": "bringBrowserToForeground",
      "Target": "",
      "Value": ""
    },
    {
      "Command": "open",
      "Target": "https://www.computerhope.com/jargon/c/checkbox.htm",
      "Value": ""
    },
    {
      "Command": "waitForPageToLoad",
      "Target": "20000",
      "Value": ""
    },
    {
      "Command": "comment",
      "Target": "pause // 20000",
      "Value": ""
    },
    {
      "Command": "click",
      "Target": "id=Example-1",
      "Value": ""
    },
    {
      "Command": "click",
      "Target": "id=Example-2",
      "Value": ""
    },
    {
      "Command": "click",
      "Target": "id=Example-3",
      "Value": ""
    },
    {
      "Command": "click",
      "Target": "id=Example-4",
      "Value": ""
    },
    {
      "Command": "click",
      "Target": "id=Example-5",
      "Value": ""
    },
    {
      "Command": "click",
      "Target": "id=Example-6",
      "Value": ""
    },
    {
      "Command": "click",
      "Target": "id=Example-7",
      "Value": ""
    },
    {
      "Command": "click",
      "Target": "id=Example-8",
      "Value": ""
    },
    {
      "Command": "verifyChecked",
      "Target": "id=Example-1",
      "Value": ""
    },
    {
      "Command": "verifyChecked",
      "Target": "id=Example-2",
      "Value": ""
    },
    {
      "Command": "verifyChecked",
      "Target": "id=Example-3",
      "Value": ""
    },
    {
      "Command": "verifyChecked",
      "Target": "id=Example-4",
      "Value": ""
    },
    {
      "Command": "verifyChecked",
      "Target": "id=Example-5",
      "Value": ""
    },
    {
      "Command": "verifyChecked",
      "Target": "id=Example-6",
      "Value": ""
    },
    {
      "Command": "verifyChecked",
      "Target": "id=Example-7",
      "Value": ""
    },
    {
      "Command": "verifyChecked",
      "Target": "id=Example-8",
      "Value": ""
    }
  ]
}

Hi @ulrich

If you write like this it means that you haven’t read what I wrote, the loop has no relevance I have already written several times that some times when I open firefox it shows this problem, what does the loop have to do with it?

I posted the photos because I saw that you don’t understand the problem, but the photos are clear, the macro is running, the log confirms the correct commands but the checkboxes are not clicked and this defect appears a few times when I open firefox and start the macro .

Please reread what I write otherwise provide answers that do not help solve the problem.

Thanks

Well, my main hint was: Remove the TYPE command, it is not needed and maybe is the cause of the issue. Did you try this?

Hi

I already try to remove type command.

When this problem occurs in all sites, any checkbox has this behavior, it turns green but is not clicked by kantu.

I think it’s a doom storage problem because it’s so strange that any checkboxes on any site are no longer clicked by Kantu.

To solve temporarily I have to close firefox and reopen it, just so it resolves otherwise it remains until firefox is open.

I believe it is a doom storage conflict with some firefox settings or extensions.

The strange thing is that using Katalon in the same browser with the same settings everything works perfectly and Katalon correctly clicks the checkboxes.

When this problem occurs all the checkboxes of all the sites are not clicked, this site that I indicated is an example but I have tried so many others and in all of them we see the same problem, the only way to solve is to close Kantu and firefox and reopen everything again.

I wanted to know if there is an alternative solution because when I open kantu via the command line, if this problem occurs, it doesn’t work for me.

I think it’s a firefox extension or a firefox setting that conflicts with doom storage but I wonder if any of you have ever had this problem.

I thank you for the advice.