I have an application which has lots of UI screens.Each screen will have 'help' button.
When I press help button ,It should link with corresponding help file(Created hel file by robohelp).
for example:
I have created robo help file..in tat, the file will have the user manual for whole related application with different topic.So when I click help button,It should link to corressponding topic in tat file.how to link the same file but diiferent topics for the corresponding screens.
Plz anyone knws the idea,help me?
Please note that RoboHelp creates many different output formats that may be used as the help system. If you are creating WebHelp, take a look at the link below:
http://wvanweelden.eu/robohelp/context_sensitivity_in_webhelp
If you are creating CHM, the process will be similar.
Cheers... Rick :)
Related
I'm trying to build a simple ToDo App with Angular using two approaches:
At first I tried to develop on each file (asking code with short comments in .html, .css, .ts) and receiving as output small code snippets. Everything works as expected until now.
Second approach is trying to put a single long detailed comment in a unique file where I explain all I need in terms of component and interactions as shown in the example below*. Is there a way to obtain this code in a single session.ts file with the path attached before each code snippet so that I can move the code into the related file?
*Insufficient Comment Example to provide a clearer idea of the expected output:
I need two Angular Components: Login and Todo.
The Login Component has a form with two input fields: Username and Password.
The Login Form is implemented using ReactiveForms.
The submit button directly redirects to TodoComponent.
The TodoComponent shows a table with the ToDo List.
The List is empty at first.
The table has the following columns: Id(number), Title(string), Completed(boolean) and Actions.
The TodoComponent has a button to Add a Todo.
Etc.
Thanks in advance!
I tried to put the comment in a session.ts file but it's not working as it previously did with Java, I expected to receive a path /todo.component.ts and the related code, /todo.component.html and the related code and so on with the rest of the generated project.
I need to see the description of the JFoenix component JFXTextField.
This should usually be possible with CTRL + clicking on "JFXTextField" somewhere in the code.
In this video it works, see 3:20
https://www.youtube.com/watch?v=MU0MCdk3i7s.
However when I do this, this is what I get:
class description
I don't know what's the cause of this so can anybody tell me how I get access to this description?
Thank you!!
I want to test every link on a WEBSITE. I googled a lot but there were only solutions to test every link on a WEBPAGE.
How I wanted to do it:
If the script clicks on a link, the script looks on the new webpage if there is a new link. If there is a new link then the script clicks it and repeats the steps(look and click) untill he cannot find a link. In that case the script navigates back until he finds a new link to click.
Does anyone have a solution for me? I am using Java.
You can use a recursive function to open a link, findElements by Html tag name , and call the function again for each of these links in the list. Be aware that, this can go on for a while, you might run out of memory etc because all web pages normally have links.
I think using jsoup library is a better choice for this purpose than to navigate via UI using Selenium.
For more info please follow this tutorial : https://www.javatpoint.com/jsoup-tutorial :)
Try this code
links = browser.find_elements_by_tag_name('a')
for link in links:
try:
response = requests.head(link.get_attribute('href'), allow_redirects=True)
assert response.status_code in (200, 201, 301, 302, 304, 308)
except Exception as e:
print("Broken link detected " + str(link.get_attribute('href')))
I'm developing a ImageJ plugin that It works in my desktop pc but in my laptop it doesn't.
For this reason, now I'm trying to improve and I want to modify the next steps but i can't get it. This is the code:
IJ.selectWindow("example");
IJ.run("Convert to Mask");
IJ.run("Fill Holes");
IJ.run("Set Scale...", "distance=1 known="+pixelSize+" pixel=1 unit=um");
IJ.run("Analyze Particles...", "size=0-Infinity circularity=0.00-1.00 show=Masks display clear record");
I known that "Analyze Particles" I must to use the ParticleAnalyzer class (I dont sure how to do but... I'm researching the class) but for the other steps I can not find solution.
I hope that someone can help, thank you.
Best Regards.
I didn't get what I wanted it but I left to use the windows and now I am using ImagePus variables and It works better. I put the code:
IJ.run(this.cMask, "Convert to Mask", "");
IJ.run(this.cMask, "Fill Holes","");
IJ.run(this.cMask, "Set Scale...", "distance=1 known="+pixelSize+" pixel=1 unit=um");
IJ.run(this.cMask, "Analyze Particles...", "size=0-Infinity circularity=0.00-1.00 display clear record");
I'm trying to use UISpec4J to test a file chooser.
A button is supposed to make the file chooser pop up. I found an example for a file chooser that pops up from a menu option:
WindowInterceptor
.run(openMenu.triggerClick())
.process(FileChooserHandler.init()
.titleEquals("Select a template file")
.assertAcceptsFilesOnly()
.select("/home/bond/file.txt"))
.run();
But I can't seem to get it to work with a simple button click instead - I know this is probably a really simple question but I can't seem to find other documentation to get this to work and I am pretty stuck... Can someone explain how to test this? Thanks!
I've also tried example from documentation and failed. Little change could help:
WindowInterceptor
.init(openMenu.triggerClick())
.process(FileChooserHandler.init()
.titleEquals("Select a template file")
.assertAcceptsFilesOnly()
.select("/home/bond/file.txt"))
.run();
I've replaced first instance of run to init.
Probably, it's a typo in docs.