Недавний контент Alienerd

  1. A

    Simple IF check texte presence

    I found the answer by myself. For those who will face the same issue, my problem was indeed very simple, and I'm suprised that confimed techy can't see it immediately. I wrote '{-Variable.Variable0-}'==' Victime de son succès ' but if I observe correctly the innertext there was 2 spaces before...
  2. A

    Simple IF check texte presence

    This is a bit rude :D I had search and not found what I was looking for, so I kindly ask here. Its always better to learn fishing instead of getting a fish for free, I trust that. I really hope someone can answer my issue here.
  3. A

    Simple IF check texte presence

    Thank you, it's sweet to see people helping beginners :ay: But, the thing is. Check text presence is pretty easy with ZP and I was able to do that before. I'm looking for checking only the innertext not if the text is found on the page. I would like to only check the box, this is why I used...
  4. A

    Simple IF check texte presence

    Thank you so much ! Now I would like to undertsand the process if you dare to. How do I use the return "Got it" and "Not found" in ZP ? Because the c# box goes directly to sucessfull step. I mean I try with another url where "Victime de son succès" is not in the page and the result is also success.
  5. A

    Simple IF check texte presence

    I get my variable Variable0 from inertext the value returned in an alert box is "Victime deson succès" (I still don't know why 2 words are glued) So correct me if I'm a wrong, do I need to write this: string str = project.Variables["Variable0"].Value.Trim().ToUpper(); string b = "Victime de...
  6. A

    Simple IF check texte presence

    Thank you for your help, but it still doesn't work. Pretty crazy ! I wrote this in a c# box string str = project.Variables["var"].Value; if (str.Equals("Victime de son succès")){return "equals";} return "not ok";
  7. A

    Simple IF check texte presence

    I removed spaces , still not working. I also noticed that the alert box showing me the variable, shows: "Victime deson succès" where de the word "de" and "son" are glued together. That should be so simple to get a simple IF condition where some innertext is found or not in Zennoposter. I'm just...
  8. A

    Simple IF check texte presence

    Still not working. I did a C# box and wrote: if (project.Variables["tmp"].Value.Trim()==" Victime de son succès ") return 1; throw new Exception("message"); The variable is found because I see it in an alert box that I created with {-Variable.Variable0-} , but C# box still doesn't work (red...
  9. A

    Simple IF check texte presence

    Thank you esouldy but it still doesn't work as expected.
  10. A

    Simple IF check texte presence

    Hello, I'm stucked with a very simple problem, I would like to check a presence of innertext in a button. So I used Get value[innertext] and then a logic IF with this: {-Variable.Variable0-}==' Victime de son succès ' Where "Victime de son succès " is the returned value, but it doesn't...